[fpc-pascal] virtual class var?

Andrew Haines andrewd207 at aol.com
Tue Aug 7 06:21:44 CEST 2012


Ahhh ok I understand now. , Thank you.
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Paul Ishenin <paul.ishenin at gmail.com> wrote:

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

_____________________________________________

fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120807/0213f980/attachment.html>


More information about the fpc-pascal mailing list