[fpc-pascal] Re: Duplicate Identifier

Sven Barth pascaldragon at googlemail.com
Thu Mar 1 08:17:29 CET 2012


Am 01.03.2012 03:35, schrieb Noah Silva:
> Hi leledumbo,
>
> (Changing the topic to indicate OT)
>
> I didn't really take time to figure out whether it "should" be happening
> or not, I just changed the references not to conflict.  If you are
> interested, though, I reproduced it in the screenshot below for you:
>
> https://picasaweb.google.com/lh/photo/qXJYu68KE20oWWM2loKWTtMTjNZETYmyPJy0liipFm0?feat=directlink

Hmm. Did you use "Tile" as a field or property of the class TfrmMap 
already? Then this is expected, because FPC will in non-Delphi modes 
error if you reuse an identifier, which is already used as a field or 
property, as a type or local parameter of a method that belongs to the 
same class.

Regards,
Sven




More information about the fpc-pascal mailing list