Protected Access

The *Protected special value for the Access parameter confers protected access on one or more declared programming elements. Protected elements are accessible only from within their declaration context, including from members of any nested types, for example from within a nested procedure or from an assignment expression in a nested enumeration.

The *Protected access type is used in the following operation codes:

BEGCONSTRUCTOR

BEGFUNC

BEGPROP

BEGSR

DCLARRAY

DCLCONST

DCLDISKFILE

DCLEVENT

DCLFLD

DCLMEMORYFILE

See Also

Access Types

*Internal

*Private

*Public

Understanding Classes