pTAL Conversion Guide
Compiler Operation
pTAL Conversion Guide—527302-002
19-15
For pTAL and TAL
See Section 14, Bit Operations, for more information and examples.
DO_PTAL
DO_PTAL enables new features in TAL. The native compilers ignore it.
DO_PTAL
causes the TAL compiler to:
•
Allow a dollar sign (“$”) as the first character of a:
°
DEFINE
°
Public name in the declaration of an external procedure with the
LANGUAGE UNSPECIFIED attribute
•
Allow equivalenced arrays
•
Support routine pointers
•
Support overflow trap instructions
•
Ignore the pTAL directive NOWARN (see WARN on page 19-10)
•
Unless the SYNTAX directive is specified:
°
Functions that execute to the end of the code body cause an instruction
failure, rather than causing an implicit return to their callers with a return
value of zero.
°
TAL generates a logical left-shift instruction for an arithmetic left-shift
operator.
°
The $XADR on page 17-13 behaves differently for certain arguments.
SYNTAX
ensures that TAL constructs from product version D20 and later behave the same
as they do in earlier product versions.
DO_PTAL
NODO_PTAL
POPDO_PTAL
PUSHDO_PTAL
VST003.vsd
SYNTAX