pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
NoneDefault:
Either in the compilation command or in the source code before any global
data declarations
Placement:
Applies to the compilation unitScope:
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 (page 496)
• EXPORT_GLOBALS (page 501)
• PRINTSYM (page 509)
• SAVEGLOBALS (page 512)
• SYMBOLS (page 515)
• SYNTAX (page 516)
More information: USEGLOBALS (page 423)
WARN
WARNDefault:
AnywherePlacement:
Scope:
• WARN applies to subsequent code until overridden by NOWARN
• NOWARN applies to subsequent code until overridden by WARN; however:
To print selected warnings, you must specify WARN before any NOWARN
directives. If you specify NOWARN first, subsequent WARN
warning-number directives have no effect.
NoneDependencies:
More information: WARN (page 424)
Compiler Directives 517










