[fpc-pascal] fpdoc is broken for LINK'ed documentation

2012-03-02 Thread Graeme Geldenhuys
Hi, I've been trying to figure this out all morning, and after 2 hours I still can't see why fpdoc doesn't work correctly. I have linked documentation in descendant classes - so as not to duplicate documentation in the XML description files. I currently use the IPF linear output writer, and DO

[fpc-pascal] Re: xterm -e program-compiled-with-fpc2.4.0 doesn't work

2012-03-02 Thread max
Thank you for your tips and suggestions. It seems that FPSYSTEM from rtl-Sysutils is the 1:1 replacement for the old SHELL function but that made no difference to my problem. I dug out the previsious fpc version 1.9.4 from archive.debian.org which fortunately could be installed [for how long?]

Re: [fpc-pascal] Re: OT: Amazing new development tools

2012-03-02 Thread Martin
On 29/02/2012 11:44, Mark Morgan Lloyd wrote: Martin wrote: Sure one *could* record *all* variables, and the callstack... But what if - you add a new variable, what to initialize it with? - remove the function that called the current code, or even delete the line where you just paused? Or

Re: [fpc-pascal] Re: Duplicate Identifier

2012-03-02 Thread Marcos Douglas
On Thu, Mar 1, 2012 at 5:49 PM, Sven Barth pascaldra...@googlemail.com wrote: On 01.03.2012 21:42, Marcos Douglas wrote: On Thu, Mar 1, 2012 at 5:14 PM, Sven Barthpascaldra...@googlemail.com  wrote: On 01.03.2012 16:34, Marcos Douglas wrote: On Thu, Mar 1, 2012 at 4:29 AM,

[fpc-pascal] Re: Duplicate Identifier

2012-03-02 Thread leledumbo
But if I have many methods with a identifier like Value, I will have to modify all methods and put something like lValue, Value1, etc. Trust me, that's MUCH better than letting the compiler compiles wrong code. i.e. it refers to identifier we don't mean to refer. I've had a lot of this before

Re: [fpc-pascal] Re: Duplicate Identifier

2012-03-02 Thread Marcos Douglas
On Fri, Mar 2, 2012 at 10:48 AM, leledumbo leledumbo_c...@yahoo.co.id wrote: But if I have many methods with a identifier like Value, I will have to modify all methods and put something like lValue, Value1, etc. Trust me, that's MUCH better than letting the compiler compiles wrong code. i.e.

Re: [fpc-pascal] Re: Duplicate Identifier

2012-03-02 Thread Sven Barth
Am 02.03.2012 13:23, schrieb Marcos Douglas: On Thu, Mar 1, 2012 at 5:49 PM, Sven Barthpascaldra...@googlemail.com wrote: On 01.03.2012 21:42, Marcos Douglas wrote: On Thu, Mar 1, 2012 at 5:14 PM, Sven Barthpascaldra...@googlemail.com wrote: On 01.03.2012 16:34, Marcos Douglas wrote:

[fpc-pascal] Re: Variant vs Pointer

2012-03-02 Thread Marcos Douglas
On Wed, Feb 29, 2012 at 10:38 PM, Marcos Douglas m...@delfire.net wrote: Hi, The TField class have the FValueBuffer: Pointer attribute and have also SetData(Buffer: Pointer,...) method that all T***Field subclasses use to set themselves. The methods AsInteger, AsString, etc use FValueBuffer

Re: [fpc-pascal] Re: Duplicate Identifier

2012-03-02 Thread Marcos Douglas
On Fri, Mar 2, 2012 at 10:39 AM, Sven Barth pascaldra...@googlemail.com wrote: Am 02.03.2012 13:23, schrieb Marcos Douglas: On Thu, Mar 1, 2012 at 5:49 PM, Sven Barthpascaldra...@googlemail.com  wrote: On 01.03.2012 21:42, Marcos Douglas wrote: On Thu, Mar 1, 2012 at 5:14 PM, Sven

Re: [fpc-pascal] Re: Variant vs Pointer

2012-03-02 Thread michael . vancanneyt
On Fri, 2 Mar 2012, Marcos Douglas wrote: On Wed, Feb 29, 2012 at 10:38 PM, Marcos Douglas m...@delfire.net wrote: Hi, The TField class have the FValueBuffer: Pointer attribute and have also SetData(Buffer: Pointer,...) method that all T***Field subclasses use to set themselves. The methods

Re: [fpc-pascal] Re: Duplicate Identifier

2012-03-02 Thread Sven Barth
Am 02.03.2012 16:48 schrieb Marcos Douglas m...@delfire.net: On Fri, Mar 2, 2012 at 10:39 AM, Sven Barth pascaldra...@googlemail.com wrote: Am 02.03.2012 13:23, schrieb Marcos Douglas: On Thu, Mar 1, 2012 at 5:49 PM, Sven Barthpascaldra...@googlemail.com wrote: On 01.03.2012 21:42,

Re: [fpc-pascal] Re: Variant vs Pointer

2012-03-02 Thread Marcos Douglas
On Fri, Mar 2, 2012 at 1:02 PM, michael.vancann...@wisa.be wrote: On Fri, 2 Mar 2012, Marcos Douglas wrote: On Wed, Feb 29, 2012 at 10:38 PM, Marcos Douglas m...@delfire.net wrote: Hi, The TField class have the FValueBuffer: Pointer attribute and have also SetData(Buffer: Pointer,...)

Re: [fpc-pascal] Re: Duplicate Identifier

2012-03-02 Thread Sven Barth
On 02.03.2012 20:03, Sven Barth wrote: One more question: why this feature isn't works when used with arguments? The arguments could have the same name of a property. Normally it should work with arguments as well, but there is a bug if you define a property with an identifier that's used

Re: [fpc-pascal] Re: Duplicate Identifier

2012-03-02 Thread Marcos Douglas
On Fri, Mar 2, 2012 at 5:14 PM, Sven Barth pascaldra...@googlemail.com wrote: On 02.03.2012 20:03, Sven Barth wrote:   One more question: why this feature isn't works when used with arguments?   The arguments could have the same name of a property. Normally it should work with arguments as

RE : [fpc-pascal] Re: Variant vs Pointer

2012-03-02 Thread Ludo Brands
I need implements a similar structure but I need know if the use of Variant have very cost. It has a cost. The reason for using a buffer in tdataset is that a record's data normally is located in one continuous buffer, from which a value is picked from the right spot