basic.page Statement/BASIC Program

basic.page

Command basic.page Statement/BASIC Program
Applicable release versions: R83, AP
Category BASIC Program (486)
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.
Syntax page {num.expression}
Options
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".
Purpose
Related basic.num.expression
basic.crt
basic.statements
basic.printer
basic.system
basic.footing
basic.heading