opensubscriber
   Find in this group all groups
 
Unknown more information…

f : fpc-pascal@lists.freepascal.org 1 March 2012 • 4:27PM -0500

Re: [fpc-pascal] Re: Duplicate Identifier
by Noa Shiruba

REPLY TO AUTHOR
 
REPLY TO GROUP




Sven,

No, I used it only in TW var section of various methods as a temporary structure.  I should note that this compiled in FPC 2.4 fine.

(that said, the source code in question is quite messy...)

-- Noah

On 2012/03/01, at 16:17, Sven Barth <pascaldragon@goog...> wrote:

> 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
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@list...
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@list...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.