pTAL Conversion Guide

Compiler Operation
pTAL Conversion Guide527302-002
19-18
For pTAL and TAL
PUSHTNS_SYNTAX
pushes the current setting (DOTNS_SYNTAX or NODOTNS_SYNTAX) onto the
DOTNS_SYNTAX directive stack. Does not change the current setting.
POPTNS_SYNTAX
pops the top value from the DOTNS_SYNTAX directive stack and changes the
current setting to that value.
For an explanation of directive stacks, see the pTAL Reference Manual.
EXPORT_GLOBALS
EXPORT_GLOBALS
causes the compiler to define (rather than only declare) global data blocks,
allocating space for them and (optionally) giving them initial values, and causes the
linker to include in the program file all global data blocks declared up to the next
occurrence of NOEXPORT_GLOBALS or through the last declared global data
block, whichever is first.
NOEXPORT_GLOBALS
causes the compiler to declare (rather than define) global data blocks.
PUSHEXPORT_GLOBALS
pushes the current setting (EXPORT_GLOBALS or NOEXPORT_GLOBALS) onto
the EXPORT_GLOBALS directive stack. Does not change the current setting.
POPEXPORT_GLOBALS
pops the top value from the EXPORT_GLOBALS directive stack and changes the
current setting to that value.
Default: NODO_TNS_SYNTAX
Placement:
Can appear only once in a compilation
Must precede any TARGET directive and any nondirective lines
Scope: Applies to the compilation unit
Dependencies: None
EXPORT_GLOBALS
NOEXPORT_GLOBALS
PUSHEXPORT_GLOBALS
POPEXPORT_GLOBALS
VST662.vsd