[fpc-pascal] virtual class var?
Paul Ishenin
paul.ishenin at gmail.com
Tue Aug 7 05:43:49 CEST 2012
07.08.12, 11:24, Andrew Haines wrote:
> What is the current implementation?
>
> I would guess that class vars are stored in the vmt already...
No, class var and regular variable has no difference except the scope.
It is a static variable which is shared between all instances and
descendants - so why should it be stored in vmt or near it?
Best regards,
Paul Ishenin
More information about the fpc-pascal
mailing list