pTAL Conversion Guide

pTAL Conversion Guide527302-002
3-1
3 Lexical Elements
This section describes the pTAL lexical elements that differ from those in TAL, which
are:
Two-Character Operators on page 3-1
One-Character Unsigned Binary Operators on page 3-2
Bit-Extract Operators on page 3-2
Address-Base Symbols on page 3-3
Indirection Symbols on page 3-3
New Reserved Keywords on page 3-3
New Nonreserved Keywords on page 3-4
Two-Character Operators
TAL
These two-character operators can have one or more space characters or line breaks
between their two characters:
For example, these are equivalent:
‘>=’
‘> =’
‘> =’
pTAL
Two-character operators cannot have anything between their two characters.
For example, you must change the TAL statement:
IF (a > = b) THEN c := d > > 1;
to:
IF (a >= b) THEN c := d >> 1;
Operator Meaning
‘>=’ Unsigned greater than or equal
‘>> Unsigned right shift