FOOTING |
![]() ![]() ![]() |
The FOOTING statement defines text to be printed or displayed at the foot of each page of output.
Format
FOOTING {ON print.unit} text
where
The FOOTING statement defines the text of a page footing and, optionally, control information determining the manner in which the text is output. A page footing is output whenever the bottom of the page is reached or on execution of a PAGE statement to terminate the current page.
The footing text may include the following control tokens enclosed in single quotes. Multiple tokens may appear within a single set of quotes.
When a footing line uses both G and C, the footing is considered as a number of elements separated by the G control options. The element that contains the C option will be centered. The items either side of the centered element are processed separately when calculating the number of spaces to be substituted for each G option.
Unrecognised control tokens are ignored. A quotation mark may be inserted in the printed text by using two adjacent quotation marks in the text string.
There is no limit to the length of a footing text. Each line will be truncated at the width of the print unit. The effect of using a footing which will not fit on to the physical page is undefined.
See also: |