pTAL Reference Manual (H06.08+)
Syntax Summary
HP pTAL Reference Manual—523746-006
A-118
USEGLOBALS
USEGLOBALS
More information: USEGLOBALS on page 17-69
Note. The EpTAL compiler does not accept this directive.
Default: None
Placement: Either in the compilation command or in the source code before any
global data declarations
Scope: Applies to the compilation unit
Dependencies:
•
The compilation unit must have exactly one BEGINCOMPILATION
directive.
•
The compiler exports the data blocks declared in the USEGLOBALS
declarations file only if EXPORT_GLOBALS is active when the
compiler encounters the BEGINCOMPILATION directive.
•
A module that specifies USEGLOBALS can export a global data
block that was declared in the compilation that specified
SAVEGLOBALS only if the SAVEGLOBALS compilation exported
the data block.
Typically, a project that uses SAVEGLOBALS explicitly links globals
into the object file and specifies NOEXPORT_GLOBALS (the
default) for all individual compilations.
•
Interacts with the directives referenced in the next row.
References:
•
BEGINCOMPILATION on page A-90
•
EXPORT_GLOBALS on page A-97
•
PRINTSYM on page A-108
•
SAVEGLOBALS on page A-111
•
SYMBOLS on page A-116
•
SYNTAX on page A-116
VST674.vsd
USEGLOBALS
define-name
file-name










