pTAL Reference Manual (H06.08+)
Compiler Directives
HP pTAL Reference Manual—523746-006
17-51
PAGE
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.
Default: LINES determines page ejects and no heading is printed
Placement: Only in the source file (not in the compilation command)
Scope: Applies until overridden by another PAGE directive
Dependencies:
•
Has no effect if either:
°
NOLIST or SUPPRESS is active
°
The list file is a terminal
•
Interacts with SAVEGLOBALS and USEGLOBALS (see Saving and
Using Global Data Declarations on page 17-8)
References:
•
LINES on page 17-44
•
LIST on page 17-44
•
SAVEGLOBALS on page 17-56
•
SUPPRESS on page 17-65
•
USEGLOBALS on page 17-69
Example 17-27. PAGE Directive
! MYSOURCE file
?PAGE "Here are global declarations for MYSOURCE"
! Global declarations
?PAGE "Here are procedure declarations for MYSOURCE"
! Procedure declarations
PAGE
" "
VST160.vsd
heading-string










