Description

Defines a page heading to be printed at the top of the page in conjunction with the Print statement. The header text is printed after the maximum page height lines have been printed, and on Printer Off statement.

This statement is supported for backward compatibility only; newer programs should use the Print_ functions.

Syntax

Heading "expression ['options'] ... "

Parameters

The Heading statement has the following parameters.

ParameterDescription
expressionHeadings are made up of any character string enclosed in double quotes ("), and may contain any number of options.
options

The options must be enclosed within single quotes ('). Multiple options may be placed within one set of single (') quotes. Values for options include those listed in the following rows.

CodeNameDescription
'B'BreakInserts the value of @BREAK into the Heading.
'D'DateInsert the current date as DD MMM YYYY.
'F'FilenameInserts the current file being read.
'L'New LineCauses a line feed. 'LL' will leave one line blank.
'N'No PageSuppresses automatic paging.
'P'PageInserts current page number.
'PP'Page JustifyInserts current page number with right justification into a four-space field.
'Sn'SpacesInserts 'n' spaces into the heading at that point.
'T'TimeInserts the current time and date.
' 'Two Single QuotesPrints a single quote at that point.

See also

@LPTRHIGH (Environment page height setting), Appendix A: OpenList Keyword Reference, Footing

  • No labels