Page

From Free Pascal wiki
Revision as of 21:13, 17 November 2020 by Rfc1394 (talk | contribs) (update)
Jump to navigationJump to search

The page procedure is used to tell the system to advance to the next page on that system's output writer. This was generally different from system to system. On IBM mainframes, it meant putting a '1' (the character of the digit 1) as the first character of the output line. On most ASCII machines, it means generating a form feed character, CHR(12).

The page() procedure thus provided a machine-independent way to advance output to the next page.

Format:

Page(); {Older method of calling a procedure with no parameters

or

page; 

Page will advance OUTPUT to the next page.