Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
HOST-NUMCOMPARE Details (↑ Choosing Run-time Behavior)
◄Key► ◄Summary► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
If the ZWB directive is also specified, HOST-NUMCOMPARE only affects
comparisons involving unsigned numeric data items. If NOZWB is
specified, HOST-NUMCOMPARE will affect comparisons involving both
signed and unsigned data items.
If HOST-NUMCOMPARE is specified, affected comparisons are treated as
if the numeric data item were redefined as an alphanumeric item of the
same length, and the comparison made against this redefinition. If
NOHOST-NUMCOMPARE is specified, the numeric field is first moved to an
elementary alphanumeric data item of the same size, and the content of
this alphanumeric item is then compared to the literal.
The HOST-NUMCOMPARE directive only affects comparisons where the
numeric data item contains non-numeric data at the time of the
comparison.
See also ◄ZWB►
-♦-