access

Whether a symbol is visible outside the module that declares it.

声明

语法

access = Public | Private

Values

Value

Meaning

Public

visible to anything that uses the module.

Private

visible only inside the module.

返回值

None. An enumeration value is not evaluated.

描述

This is the public and private attribute. It applies to the symbol, not to the type: a private component of a public type is a Variable with access=Private inside a Struct with access=Public.

也可以看看

Variable, Function, Module, Struct