Progress
Language Reference
PAGE Statement
Starts a new output page for PAGED output. No action is taken if output is already positioned at the beginning of a page.
SYNTAX
STREAM stream
Specifies the name of a stream. If you do not name a stream, Progress uses the unnamed stream. See the DEFINE STREAM Statement reference entry in this book and the chapter on alternate I/O sources in the Progress Programming Handbook for more information on streams.
EXAMPLEThis procedure prints a customer report, categorized by state, and starts a new page for each state.
NOTES
- If the current output destination is not a paged device (you did not use the PAGED option in the OUTPUT TO statement), the PAGE statement has no effect.
- PAGE has no effect if you are already at the top of a new page.
- If any PAGE-TOP or PAGE-BOTTOM frames are active, they are output prior to the next display.
- See the chapter on alternate I/O sources in the Progress Programming Handbook for more information on streams.
SEE ALSO
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |