The page statement terminates the current page of output, prints the optional footing, positions to the top of the form, and prints the optional heading.
Syntax
page {num.exp} |
Parameter(s)
num.exp |
Optional expression used to change the current value of the page number. |
Description
NOTE |
The page statement works only when a heading or footing statement has been previously defined and is active. |
Example(s)
This example forces a new page if the attribute to be printed starts with the string .bp.
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 |
See Also