1. Home
  2. PAGE directive

PAGE directive

Moves to the top of the next page of an output file.

Option

CHANNEL = scalar Channel number of file; default * i.e. current output file

No parameters

Description

PAGE arranges for future output to start on a new page. By default, PAGE works on the current output channel, but you can use the CHANNEL option if you are sending output to another file. PAGE has no effect unless output is to a file, and it achieves its effect by printing a line consisting of just the control code for a form feed (ASCII character 12). The effect of PAGE is therefore independent of the page size set by the OPEN directive.

Option: CHANNEL.

Parameters: none.

See also

Directives: SKIP, CAPTION, PRINT.

Commands for: Input and output.

Updated on March 6, 2019

Was this article helpful?