Re: [fpc-pascal] Re: Initialization of class field

2012-08-01 Thread Sven Barth
Am 01.08.2012 00:14, schrieb leledumbo: I think the fast point from OP point of view is the less typing, less source code. Not from executable point of view. Might be, but as there are people that are complaining about class instance initialization speed (the instance's memory is initialized

Re: [fpc-pascal] Re: Initialization of class field

2012-08-01 Thread Marco van de Voort
In our previous episode, leledumbo said: I think the fast point from OP point of view is the less typing, less source code. Not from executable point of view. Hmmm, makes me wonder when typing became the limiting factor in programming :-) ___

[fpc-pascal] strlen and nil

2012-08-01 Thread Mattias Gaertner
Hi, What does strlen return on nil? The FPC function strlen is implemented via FPC_PCHAR_LENGTH. The documentation does not say what happens when passing nil. Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] strlen and nil

2012-08-01 Thread Mattias Gaertner
On Wed, 1 Aug 2012 12:21:05 +0200 (CEST) mar...@stack.nl (Marco van de Voort) wrote: In our previous episode, Mattias Gaertner said: What does strlen return on nil? The FPC function strlen is implemented via FPC_PCHAR_LENGTH. The documentation does not say what happens when passing nil.

Re: [fpc-pascal] Re: Initialization of class field

2012-08-01 Thread Bart
On 8/1/12, Marco van de Voort mar...@stack.nl wrote: Hmmm, makes me wonder when typing became the limiting factor in programming :-) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Re: Initialization of class field

2012-08-01 Thread Marco van de Voort
In our previous episode, Bart said: [OT] Ideal programming Language (ObjectPascal 10.1?), reduced typing. Program AnyProgram; begin MyPrgram := TMyProgram.Create(ReadMyMindAndCreateWhatIWantNow); end. Actually, from experience, that isn't even enough. What you want at the beginning