FORTRAN Reference Manual

Compiler Directives
FORTRAN Reference Manual528615-001
10-51
PAGE Compiler Directive
FORTRAN reports an error if it encounters a NONSTOP directive after the first
FORTRAN statement.
Example
?NONSTOP
PAGE Compiler Directive
The PAGE directive ejects the current page of the list file, prints the specified character
string at the top of the next page, and skips two lines before resuming the listing.
title
is a character string. FORTRAN interprets two immediately adjacent quotation
mark characters within title as one quotation mark character when it writes title
to the listing file.
Considerations
The PAGE directive must be the first or only directive on a line.
The first PAGE directive establishes the title without skipping a page.
If you do not specify a title, PAGE uses the previous title.
The PAGE directive does not cause a page eject when NOLIST or SUPPRESS is
in effect, but if a new title is specified, it will appear at the top of the next page after
printing resumes.
If title contains more than 60 characters, FORTRAN uses only the first 60
characters.
Examples
?PAGE "New Spelling Checker"
?PAGE "Listing for ""First Compilation"""
PAGE [ " title" ]