[fpc-devel] comparing methods

Michael Schnell mschnell at lumino.de
Thu Sep 10 13:49:09 CEST 2009


Mattias Gärtner wrote:
> Can someone explain why in mode objfpc comparing methods only compares
> the address, but not the instance?

Seems perfectly logical to me (@ = Address of, in this case "code
address", the code is the same for all instances of a class).

-Michael



More information about the fpc-devel mailing list