PAGE Statement

Advances the current output device to the next page and print the heading or footing.

Syntax

PAGE {expression}

Syntax Elements

expression is a valid DataBasic expression used to reset the page number in a heading or footing on the next page. If omitted, page number sequence is preserved.

Comment

The PAGE statement is only valid for print report zero and only functions if a heading or footing is in effect.

Example

A = 10
HEADING="MONTHLY REPORT'L'PAGE'PP'"
.
.
.
PAGE A

Current output device advances to top-of-form and prints the heading:

MONTHLY REPORT
PAGE 10