Language:
Русский
English
private (standard directive)
Private and public are reserved words only within objects.
The scope of component identifiers declared in private component sections are restricted to the module (program or unit) that contains the object type declaration.
- Inside the module, private component identifiers act like normal public
component identifiers.
- Outside the module, private component identifiers are unknown and
inaccessible.
Place related object types in the same module (or unit) where they can gain access to each other's private components without making the private components known to other's modules.