GLOBAL

Global section symbol declaration.

GLOBAL symbol[,symbol,...,symbol]

Remarks

The GLOBAL directive is used to specify that the list of symbols is defined within the current section, and that those definitions should be accessible by all sections. This directive is only valid if used within a program block bounded by the SECTION and ENDSEC directives. If the symbols that appear in the operand field are not defined in the section, an error is generated.

A label is not allowed with this directive.

Example

SECTION IO

GLOBAL LOOPA ; LOOPA will be globally

; accessible by other sections

.

.

ENDSEC

See also

SECTION

XREF