[fpc-pascal] Is it only properties that can have defaults in type definitions?
Frank Church
vfclists at gmail.com
Thu Mar 14 16:35:48 CET 2013
Is it only properties that can have defaults in type definitions?
ie can private fields be only initialized after creation, eg in the constructor?
Is something like this allowed
TSomeObject = TObject
private
FBoolean: Boolean default false;
public
FPublishedBoolean: Boolean read FBoolean write FBoolean default false;
end;
--
Frank Church
=======================
http://devblog.brahmancreations.com
More information about the fpc-pascal
mailing list