[fpc-devel] Local variable names and colision with attributes/properties names

Marcos Douglas md at delfire.net
Thu Sep 27 17:03:09 CEST 2012

On Thu, Sep 27, 2012 at 11:53 AM,  <michael.vancanneyt at wisa.be> wrote:
> On Thu, 27 Sep 2012, Marcos Douglas wrote:
>> But this is a programmer's choice, ie, using or not the Self. The
>> problem, IMHO, is that I can't choose when we talk about local
>> variables.
> You can: Use delphi mode.

As I said, I know this is works in delphi mode.
But I ask: In delphi mode this feature is Ok, but not in objfpc mode?

Why not exists a compiler directive and leave the programmer make your
own choice?  ;-)

Marcos Douglas

More information about the fpc-devel mailing list