Guardian Application Conversion Guide DCT Limits Extension Addendum

Affected Procedures
Guardian Application Conversion Guide DCT Limit Extension Addendum527418-001
1-6
Short-Term Change
Short-Term Change
For each call to the GETDEVNAME procedure:
1. Read the changed description of the parameter ldevnum in the Guardian
Procedure Calls Reference Manual. If necessary, change your program to
accommodate this change.
2. Ensure that the parameter ldevnum is treated as unsigned (16 bits), specifically:
°
Change all uses of signed arithmetic operators and signed relational operators
to the equivalent unsigned operators.
°
Change all uses of standard functions that require signed inputs (such as
$DBL, $MIN, and $MAX) to the unsigned equivalents (such as $UDBL, $LMIN,
and $LMAX).
3. If your program uses a negative number other than -1 for ldevnum, change that
negative number to either -1 or the equivalent unsigned number (65,535).
For information about signed and unsigned operators and standard functions, see the
TAL Reference Manual and the TAL Programmers Guide.
GETPPDENTRY
For each call to the GETPPDENTRY procedure, make either the Recommended
Change on page 1-6 or the Short-Term Change on page 1-6.
Recommended Change
Replace the call to the GETPPDENTRY procedure with a call to the D-series
procedure PROCESS_GETPAIRINFO_.
Short-Term Change
Ensure that index is treated as unsigned (16 bits), specifically:
Change all uses of signed arithmetic operators and signed relational operators to
the equivalent unsigned operators.
Change all uses of standard functions that require signed inputs (such as $DBL,
$MIN, and $MAX) to the unsigned equivalents (such as $UDBL, $LMIN, and
$LMAX).
For information about signed and unsigned operators and standard functions, see the
TAL Reference Manual and the TAL Programmers Guide.