pTAL Conversion Guide

Compiler Operation
pTAL Conversion Guide527302-002
19-16
For pTAL and TAL
NODO_PTAL
cancels DO_PTAL.
PUSHDO_PTAL
pushes the current setting (DO_PTAL or NODO_PTAL) onto the DO_PTAL
directive stack. Does not change the current setting.
POPDO_PTAL
pops the top value from the DO_PTAL directive stack and changes the current
setting to that value.
For an explanation of directive stacks, see the pTAL Reference Manual.
DO_TNS_SYNTAX
DO_TNS_SYNTAX directive controls whether the native compiler reports constructs
that are valid in pTAL but not in TAL.
DO_TNS_SYNTAX
issues a warning for each occurrence of the following constructs (which are valid in
pTAL but not in TAL):
Default: NODO_PTAL
Placement: Anywhere
Scope:
DO_PTAL applies to the shift operators that follow DO_PTAL until it
is overridden by NODO_PTAL
NODO_PTAL applies to the shift operators that follow NODO_PTAL
until it is overridden by DO_PTAL
Dependencies: None
Construct Example
INT(32) shift count INT a;
INT(32) i;
...
a << i;
DO_TNS_SYNTAX
NODO_TNS_SYNTAX
PUSHDO_TNS_SYNTAX
POPDO_TNS_SYNTAX
VST663.vsd