Re: [fpc-pascal] dynamic array contents and system.move

2010-04-26 Thread ajv
I dit not follow this thread, but maybe it helps. Dynamic arrays are located on the heap and are reference counted. The command System.Move will bypass the reference counting. For this reason and to be sure the data is available when you need it use System.Move on stack located arrays an strings

Re: [fpc-pascal] dynamic array contents and system.move

2010-04-26 Thread Jürgen Hestermann
There is a lot of ambigouity with dynamic arrays. There certainly is if you expect them to work like regular arrays. They are a quite different datatype. At least it should always mean the same independent from context. It does always mean the same, just like a class instance always means the

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread Joseph Montanez
I just spent 2 hours on FPDoc's trying to get how to use it. Automatic documentation was dead easy but the whole XML integration part was a nightmare, so I gave up reading the docs on how to use the doc. Instead I figure "Hey there must be examples of this right?" ... *digs through source* ... 5 mi

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread John
On 26/04/2010 11:52 PM, Graeme Geldenhuys wrote: ... John het geskryf: On the other hand, Joseph has a point - I have worked out most bits of FPC over the course of a few years, but Granted that the bulk of FPC's documentation is simply Class or API documentation. A more "new developer" fri

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread Graeme Geldenhuys
On 27 April 2010 00:51, David Emerson wrote: > > I'm far more comfortable using git than svn Me too, and it didn't take long either. > Graeme, I have to ask... on the one hand, you noted that having fragmented > documentations over various locations is unhelpful; and on the other hand, > I've >

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread David Emerson
On Mon 26 Apr 2010, Graeme Geldenhuys wrote: > Florian Klaempfl het geskryf: > > > > No git mirror ;)? I think the docs are one of the fpc related > > repositories where using a dvcs might be useful. > > Apparently I am banned for life mentioning the "product that may not be > named" in FPC or L

Re: [fpc-pascal] request for help: connecting to WIN1251 (ANSI) codepaged DB (FB1.0.3) in Lazarus

2010-04-26 Thread Felipe Monteiro de Carvalho
2010/4/1 62mkv <62...@mail.ru>: >  I've made requests on several FreePascal\Lazarus forums, all states >  that I need either to migrate to migrate to more recent version of >  FB (most popular advice, which I cannot follow) or "patch" SqlDB >  components so that they should make on-the-fly AnsiToUT

Re: [fpc-pascal] request for help: connecting to WIN1251 (ANSI) codepaged DB (FB1.0.3) in Lazarus

2010-04-26 Thread Felipe Monteiro de Carvalho
Actually you should use CP1251ToUTF8 for the conversion from the unit LConvEncoding and not AnsiToUTF8 if you want your code to work properly in any computer. AnsiToUTF8 will only correctly if CP1251 is your system encoding. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Is there anyone will answer my questions

2010-04-26 Thread Bart
I (Bart) , Jurgen and "me" have answered your questions in your previous thread. (See http://lists.freepascal.org/lists/fpc-pascal/2010-April/024643.html) Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailm

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread Graeme Geldenhuys
Florian Klaempfl het geskryf: > > No git mirror ;)? I think the docs are one of the fpc related > repositories where using a dvcs might be useful. Apparently I am banned for life mentioning the "product that may not be named" in FPC or Lazarus mailing lists. :-) As for moving to such a DVCS...

Re: [fpc-pascal] Changes in 2.4.0

2010-04-26 Thread lists . fpc-pascal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Jonas, Friday, Apr 23, Jonas Maebe wrote to FPC-Pascal users discussions about Re:...: JM > > I'm still stuck. Who can tell me what's wrong? JM > Without a self-contained compilable example that demonstrates the problem: JM > probably nobody.

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread Graeme Geldenhuys
John het geskryf: > > On the one hand, Graeme is probably right, in that putting it in the > docs is the *best* thing to do. Definately! > On the other hand, Joseph has a point - > I have worked out most bits of FPC over the course of a few years, but Granted that the bulk of FPC's docu

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread Graeme Geldenhuys
Joseph Montanez het geskryf: > > The language itself is even worst, this is the biggest pitfall of > Pascal in general. I can't tell you how hard it is to find anything on > google, and I do mean anything. Free Pascal is based on Delphi's Object Pascal language. There are lots of documentation fo

Re: [fpc-pascal] request for help: connecting to WIN1251 (ANSI) codepaged DB (FB1.0.3) in Lazarus

2010-04-26 Thread Joost van der Sluis
On Thu, 2010-04-01 at 20:19 +0700, 62mkv wrote: > when trying to connect to FB 1.0.3 server, to database that was > created using WIN1251 (Windows Ansi Cyrillic) CHARSET, via SqlDB > TIBConnection component, all Lazarus visual components display ASCII > (32-127) characters OK, but all Cyri

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread Florian Klaempfl
> But does this mean you have decided to pursue GIT if there is a DVCS to be > used at all? No. Git was just an example. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: [MacPascal] iPhone AppStore accepting apps from other languages

2010-04-26 Thread Florian Klaempfl
Felipe Monteiro de Carvalho schrieb: > Really? Command line and OpenGL applications are no problem and even now possible with fpc afaik. Only full gui access might require investigation how and if fully possible. ___ fpc-pascal maillist - fpc-pascal@l

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread Marco van de Voort
In our previous episode, Florian Klaempfl said: > > I would suggest you checkout the latest copy of the documentation > > SubVersion repository: > > > >http://svn.freepascal.org/svn/fpcdocs/trunk > > No git mirror ;)? I think the docs are one of the fpc related > repositories where using a d

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread Florian Klaempfl
I would suggest you checkout the latest copy of the documentation SubVersion repository: http://svn.freepascal.org/svn/fpcdocs/trunk No git mirror ;)? I think the docs are one of the fpc related repositories where using a dvcs might be useful. The entry barrier to make changes is a lot low