On 05/26/2014 12:52 PM, Ewald wrote:
A `Class Procedure/Function XXX;` has a hidden parameter that points to the
classtype. A `Class Procedure/Function XXX; static;` doesn't have this hidden
parameter.
I see.
The hidden parameter would be accessed as "Self" ?
Thanks for the explanation !
Now I came across a "class procedure xyz; virtual;" and was astonished
that this does compile.
I suppose this means that the hidden parameter will point to the
classtype of the child instead of the parent in a derived class.
correct ?
-Michael
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel