pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

Topics:
Testing Address Types (page 218)
Testing Hardware Indicators (page 218)
Testing Address Types
An IF statement can test the following as if they were Boolean values:
Any 16-bit-compatible value:
INT
STRING
UNSIGNED(1-16)
All address-typed variables except:
CBADDR
CWADDR
PROCADDR
PROC32ADDR
PROC64ADDR
NOTE: The procedure address types, PROC32ADDR, and PROC64ADDR are available in
the 64-bit addressing functionality added to the EpTAL compiler starting with SPR
T0561H01^AAP. For more information, see Appendix E, “64-bit Addressing Functionality”
(page 531).
Testing Hardware Indicators
pTAL does not have the hardware indicators—the overflow bit, the carry bit, or the condition
codes—that TAL has. Instead, the compiler emits code that supports the $OVERFLOW, $CARRY,
and condition code test operators (<, >, =, <=, >=, <>,'<', '>', '=', '<=', '>=', '<>').
For more information, see Chapter 13 (page 234).
Move
A move statement copies a block of data from one location in memory to another. You specify the
number of bytes, words, or elements to copy in the move statement. With PVU T9248AAD, you
can move any variable up to the current maximum allowed size for any object on a TNS/R platform
of 127.5 megabytes.
A value parameter cannot be the target of a move statement.
218 Statements