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.
TRUNC Details (↑ Choosing Run-time Behavior)
◄Key► ◄Summary► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The possible values of this directive are:
TRUNC Truncate in decimal to the number of digits given by
the PICTURE clause, on all stores into COMP items.
NOTRUNC Truncate in binary to the capacity of the allocated
storage, on all stores into COMP items.
TRUNC "ANSI" Truncate in decimal to the number of digits given by
the PICTURE clause, on non-arithmetic stores into COMP
items. On arithmetic statements that cause the size
error condition and that have no ON SIZE ERROR
phrase, the result is undefined.
-♦-