basic.footing

Statement/BASIC Program, Releases: AP and R83

Defines report footing.

Syntax

footing string.expression footing '{{text} {'options'}...}'

Description

designates a text string composed of literals and special options to output at the bottom of each page.

The 'footing' expression is treated as any Pick/BASIC character string and may be surrounded by double-quotes (') or backslashes (\) or the expression can be contained in a variable. Embedded 'footing' 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 'footing' may be changed by a new 'footing' statement, and the new footing is output when the end of the current page is reached.

The 'page' statement is used to force pagination.

The 'system' function maintains line and page counters while 'heading' and 'footing' are active.

Options

* see 'options: footing'.

Example

footing ''lc'page 'pn' printed at 'tlc''
The above footing statement uses a literal string for the 'footing'
expression and produces a footing that looks as follows:
page '1' printed at 13:45:00 10 FEB 1992

footstring=''lc'page 'pn' printed at
'tlc''
footing footstring
The same footing expression can be placed in a variable, and the variable name
used in the 'footing' statement.

footing ''lc'page
'pn'':message:''l''
In this example, the 'footing' expression is a compound string
expression.

See Also

Command Name Type Description
basic.statements Definition Definition of statements and functions.
basic.page Statement Forces page eject.
basic.heading Statement Defines report heading.
access.break-on Modifier Creates control break in Access reports.
access.roll-on Modifier creates a visual 'break' in output data when the value of a specified attribute changes, an improvement over the 'break-on' command.
basic.printer Statement Toggles crt/Spooler output or closes entry.
basic.crt Statement Outputs expression to crt.
footing.options Definition Description of footing options.
basic.system Function Displays status of system-controlled variables.
basic.quotes Reserved Character String delimiter.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.