[fpc-devel] Newbie question: how does the compiler know the class type of an object ( the Is operator)

Howard Page-Clark hdpc at talktalk.net
Thu Aug 21 12:37:27 CEST 2014


On 21/08/2014 11:16, Dennis Poon wrote:
> I am just curious, what is the instance size of an Tobject?

program Project1;

uses classes;
begin
   WriteLn('InstanceSize of TObject=',TObject.InstanceSize);
   ReadLn;
end.




More information about the fpc-devel mailing list