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.
BOUNDOPT Details (↑ Choosing Run-time Behavior)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     If BOUNDOPT is used, any digits in a USAGE DISPLAY subscript
     above the size of the table are ignored. For example, for a table
     with 50 entries, a PIC 9(3) subscript is treated as PIC 9(2),
     with the most significant digit ignored.
 
     Can only be used when NOBOUND is specified, and only affects
     optimized code (created with OPT "1" or above). NOBOUNDOPT must be
     specified if a program references beyond the end of a table.
     NOBOUNDOPT is assumed if bound-checking is enabled or if
     TABLESEGCROSS has been specified.
                                    -♦-