[fpc-pascal] class declaration questions
M.Santhoff at t-online.de
Fri Oct 12 22:51:47 CEST 2007
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?
TAnyClass = class
would make fField visible "public"?
And one other question:
Does object pascal allow a class declaration marked as an abstract
class? Like in java for making sure the class can never be instantiated
itself, only it's descendants can be?
TAnyClass = abstract class(...)
More information about the fpc-pascal