Vincent Snijders wrote:
Marc Santhoff schreef:
Hi,
the reference manual is not explicitly clear in describing class
declarations. Is it true for classes as for objects that the first block
of components after the class header are visible as if declared public?
E.g.
TAnyClass = class
fField:anytype;
end;
would make fField visible "public"?
It would be "published".
iirc only if the class or a superclass is declared with $M+
--
Joao Morais
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal