pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
OVERFLOW_TRAPS
OVERFLOW_TRAPS
enables overflow traps throughout the program.
NOOVERFLOW_TRAPS
disables overflow traps throughout the program, except where you specify an overflow trapping
procedure attribute or block attribute.
PUSHOVERFLOW_TRAPS
pushes the current setting (OVERFLOW_TRAPS or NOOVERFLOW_TRAPS) onto the
OVERFLOW_TRAPS directive stack. Does not change the current setting.
POPOVERFLOW_TRAPS
pops the top value from the OVERFLOW_TRAPS directive stack and changes the current setting
to that value.
For an explanation of directive stacks, see Directive Stacks (page 369).
OVERFLOW_TRAPSpTAL compiler:Default:
NOOVERFLOW_TRAPSEpTAL compiler:
Before or between procedure declarationsPlacement:
From where the directive it occurs in the compilation until the directive is
overridden or the compilation ends, whichever occurs first
Scope:
OVERFLOW_TRAPS is overridden by:Dependencies:
• NOOVERFLOW_TRAPS procedure attribute
• DISABLE_OVERFLOW_TRAPS block attributes
NOOVERFLOW_TRAPS is overridden by:
• OVERFLOW_TRAPS procedure attribute
• ENABLE_OVERFLOW_TRAPS block attributes
See Managing Overflow Traps (page 234)References:
406 Compiler Directives