[fpc-pascal] Does FPC support fields which are only accessible from the object itself, eg. some kind of super private fields
webpirat at mail.ru
Tue Oct 4 13:39:33 CEST 2011
04.10.2011 19:32, Frank Church wrote:
> Private allows access to procedures which the unit, even if they
> belong to a separate object.
> Does FPC support fields which are only accessible from the object
> itself, not accessble by other objects even if they are in the same unit?
Yes. Use "strict private" section type.
More information about the fpc-pascal