Quote Originally Posted by Chebmaster
Ohhh... If only FPC had class vars... :roll: Then I'd avoid headache with hacking the vmt to store the class-specific indexes when I wrote my persistency system.
class vars are not virtual that is, not every derived class has its own field, they are shared...it's just a form of a global variable tied to the class type and accessible in other classes when declared as public or protected....what you would need is a "virtual class var" which would be class-type specific....such a thing does not exist and I do not even know any language which implements a construct like that....