Description

Specifies the heading or headings that will appear above each column on a report generated with the text output commands

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

Syntax

ColHeading heading [ : @FM : heading]

Parameters

The ColHeading statement has the following parameter.

ParameterDescription
headingThe heading may be a character string or an expression yielding the appropriate string format. If more than one heading is specified, the headings are delimited by @FM (field marks). Each heading will appear at the top of a column.

Each heading in a ColHeading statement may contain up to 50 characters. Column headings will appear on the first line below the result of any print statement using the Heading statement. Use @VM (value marks) to produce column headings of more than one line.

ColHeading works with the Heading, Footing, and Page statements, and must be used in conjunction with ColLength. If the value for ColLength is shorter than that for ColHeading, then the heading will be no longer than ColLength.

See also

ColLengthFootingHeadingPagePrint

Example

* The expression COLH is used to define the headings.
COLH = "NAME" :@FM: "ADDRESS"
ColHeading COLH
  • No labels