Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (R-Z)
Guardian Programming Reference Summary for pTAL and TAL522631-001
8-54
XBNDSTEST
(Superseded by REFPARAM_BOUNDSCHECK_) Checks stack limits and/or
parameter addresses.
status := XBNDSTEST ( param
,bytelen
,flags
,constants );
status, INT returned value
1 In bounds, but in a read-only segment or (on TNS/R systems only) in the system library.
0 In bounds and writable.
-1 Out of bounds or illegal address.
-2 Incorrectly aligned on word boundary.
-3 Undefined flag value.
-4 In bounds, but in an extensible extended data segment that cannot be extended (usually
due to lack of additional disk space for the swap file).
param, STRING .EXT:ref:* input
bytelen, INT:value input
flags, INT:value input
<0:12> Must be zero.
<13> Use the extended-address limits from constants.
<14> The parameter must be word-aligned.
<15> Skip the bounds test and return 0.
constants, FIXED:value input