![]() ZBasic Language Reference
55
ZBasic Microcontrollers
2.16 Default Visibility
For subroutines, functions, along with variables and other data items defined at the module level, the
default visibility (i.e. whether the entity is Public or Private by default) varies depending on the type of
entity as shown in the table below. Some of the entities, e.g. Structure and Class types, are described
later in this manual.
Default Visibility by Entity Type
Entity Type
Default Visibility
Constant
Private
Variable
Private
Subroutine
Public
Function
Public
Structure
Public
Enumeration
Public
Class
Public
|