pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
Example 351 OVERFLOW_TRAPS Compiler Directive
?OVERFLOW_TRAPS ! Correct
PROC p;
BEGIN
?NOOVERFLOW_TRAPS ! Incorrect: OVERFLOW_TRAPS must appear
... ! between procedure declarations
END;
?NOOVERFLOW_TRAPS ! Correct
PROC q;
BEGIN
...
END;
NOTE: OVERFLOW_TRAPS directive does not control the effects of the
$EXT64ADDR_TO_EXT32ADDR_OV directive (See directive“$EXT64ADDR_TO_EXT32ADDR_OV
” (page 307)).
PAGE
The first PAGE sets the string to be printed as part of the heading for each page. Each subsequent
PAGE prints the heading and causes a page eject.
heading-string
is a character string of at most 122 characters. The default is an empty string.
LINES determines page ejects and no heading is printedDefault:
Only in the source file (not in the compilation command)Placement:
Applies until overridden by another PAGE directiveScope:
• Has no effect if either:
Dependencies:
• NOLIST or SUPPRESS is active
• The list file is a terminal
• Interacts with SAVEGLOBALS and USEGLOBALS (see Saving and Using
Global Data Declarations (page 372))
References:
• LINES (page 401)
• LIST (page 401)
• SAVEGLOBALS (page 413)
• SUPPRESS (page 420)
• USEGLOBALS (page 423)
PAGE 407