PAGE

PAGE


OUT Index Level pattern matching statements
Syntax PAGE {num.expression}  
Category BASIC
Type Statement
Description terminates the current page of output, prints the optional footing, positions to top of form, and prints the optional heading.

The optional expression may be used to change the current value of the page number.
Options
See Also num.expression CRT statements & functions PRINTER SYSTEM FOOTING HEADING
Example heading "this is a heading"
lines = dcount(item,char(254))
for i = 1 to lines
 l=item<i>
 if l[1,3]='.bp' then page else print l
next i

This example forces a new page if the attribute to be printed starts with the string ".bp".
Warnings The "page" statement works only when a "heading" or "footing" statement has been previously defined and is "active".
Compatibility D3 7.0 R83 AP
OUT Index Level pattern matching statements