pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
POPTNS_SYNTAX
pops the top value from the DOTNS_SYNTAX directive stack and changes the current setting
to that value.
NODO_TNS_SYNTAXDefault:
Placement:
• Can appear only once in a compilation
• Must precede any TARGET directive and any nondirective lines
Applies to the compilation unitScope:
NoneDependencies:
TARGET (page 423)References:
ENDIF
ENDIF identifies the end of code that is to be conditionally compiled.
toggle-name
is an identifier that was used as a toggle-name in an earlier IF or IFNOT directive.
The only characters allowed in a toggle-name are alphabetic (“A” through “Z” and “a” through
“z’), numeric (‘0” through “9”), underscore (“_”), and circumflex (“^”); the first character must
be alphabetic.
Names are case-insensitive (For example, abc is the same as Abc.)
toggle-number
is an unsigned decimal constant in the range 1 through 15 that was used as a toggle-name
in an earlier IF or IFNOT directive. Leading zeros are ignored.
target
is as defined in “TARGET” (page 423).
PTAL
is a toggle implicitly defined and set by the TAL, pTAL and EpTAL compilers. It is set on if the
compiler in use is any pTAL or EpTAL compiler, otherwise it is set off. See “DEFINETOG”
(page 388).
__EXT64
is a toggle implicitly defined and set by the EpTAL compiler starting with SPR T0561H01^AAP.
It is set on if the corresponding “__EXT64” (page 394) directive has been specified otherwise,
it is set off. The __EXT64 directive controls the availability of 64-bit addressing functionality;
see “DEFINETOG” (page 388) and Appendix E, “64-bit Addressing Functionality” (page 531).
The next compiled ENDIF that matches the most recently compiled IF or IFNOT with the same toggle
or target specified identifies the end of code to be conditionally compiled. For example:
?SETTOG tog1 -- Create and turn on tog1
?RESETTOG tog2 – Create and turn off tog2
?IF tog1
-- Statements for true condition
390 Compiler Directives