TAL Reference Manual
Compiler Directives
TAL Reference Manual—526371-001
16-65
PAGE Directive
2. When a statement references a variable that was assigned a value by the previous
statement, level 2 transforms a store and a load into a nondestructive store:
STOR L+1 !Transform to NSTO L+1
LOAD L+1
PAGE Directive
PAGE optionally prints a heading and causes a page eject.
heading-string
is a character string of up to 82 characters, specified on a single line and enclosed
in quotation marks. The quotation marks are required delimiters and are not
printed. If the string is longer than 82 characters, the compiler truncates the extra
characters.
Usage Considerations
PAGE can appear anywhere in the source code but not in the compilation command.
PAGE has no effect if NOLIST or SUPPRESS is in effect.
The first PAGE prints the heading, skips a line, and then continues printing but does
not cause a page eject.
A subsequent
heading-string replaces the previous header.
If the list file is a terminal, the compiler ignores the PAGE directive. If the list file is a
line printer or a process, the compiler skips to the top of form.
Example of PAGE Directive
This example prints headings at the top of pages in the compiler listings:
!This is MYSOURCE file
?PAGE "Here are global declarations for MYSOURCE"
!Global declarations
?PAGE "Here are procedure declarations for MYSOURCE "
!Procedure declarations
VST1643.vsd
"
PAGE
heading-string
"