Howard Page-Clark wrote:
program Project1;
uses classes;
begin
WriteLn('InstanceSize of TObject=',TObject.InstanceSize);
ReadLn;
end.
I tried and it says the instancesize is 4 (on win 32 bit).
My question actually was how does the "as" and "is" get the class type
of an object.
So, does that imply the 4 byte is used to store a pointer to the class
type and Virtual Method table?
Dennis
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel