[fpc-pascal] Initialize object variables

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Thu Apr 28 10:56:33 CEST 2011


Is there any way to initialize object variables, other than writing an init method?

So something like:

myobj = object
   myvar: word = $ffff;
end;

Regards, Darius


More information about the fpc-pascal mailing list