cobol2.hlp (Table of Contents; Topic list)
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.
COMP Details (↑ Choosing Run-time Behavior)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     This COMP code produced by the compiler behaves in a way that is
     not the ANSI standard in cases of numeric overflow. You should
     use this directive only if you know that your program does not
     lead to numeric overflow, or if you want to use the defined (but
     non-standard) behavior on overflow.
                                    -♦-