[Lazarus] Weird object variables access [SOLVED] - Delphi mode bug!

Giuliano Colla giuliano.colla at fastwebnet.it
Wed Oct 25 13:12:20 CEST 2017


Il 25/10/2017 10:49, Ondrej Pokorny via Lazarus ha scritto:
> Furthermore, "Format('0x%P',[@Myself])" doesn't make sense - it should 
> be "Format('0x%P',[Pointer(Myself)])".

With @Myself I get the address of the object, with Pointer(Myself) I get 
the address of the pointer to the object.

Giuliano




More information about the Lazarus mailing list