basic.heading Statement/BASIC Program
basic.heading
| Command | basic.heading Statement/BASIC Program Applicable release versions: AP, AP 6.1, R83 |
|---|---|
| Category | BASIC Program (486) |
| Description | designates a text string composed of literals and special options to output at the top of each page. The "heading" expression is any valid literal string, string expression, or variable. A literal string must be enclosed in either double-quotes (") or backslahes () since "heading" options must be enclosed within single quotes, to distinguish them from text. Multiple options may be enclosed in the same set of single quotes. The "heading" may be changed by a new "heading" statement, and the new "heading" is output at the beginning of the next page. The very first time the "heading" is activated, it is output directly on the screen. The "page" statement is used to force pagination. The "system" function maintains line and page counters while "heading" and "footing" are active. |
| Syntax | heading string.expression heading "{{text} {'options'}...}" |
| Options | * see "options: heading". |
| Example | heading "'lc'page 'pn' printed at 'tlc' this
end into shredder first.'l'"
page 1 printed at 10:22:30 29 feb 1992
this end into shredder first
head = 'c'this is a heading'l'
heading head
In this example, the heading option string is assigned to a variable
("head") and subsequently assigned as the heading. |
| Purpose | |
| Related |
basic.crt basic.page basic.statements access.break-on basic. heading.options basic.footing access.roll-on basic.printer basic.system |
