TGAL Manual

NEED Command
TGAL Commands
060865 Tandem Computers Incorporated 2–39
NEED Command Use the NEED command to keep a specified number of lines on the same page. This
command tells TGAL to check the number of lines available on the current page. If
TGAL counts fewer lines remaining on the page than the specified number, it skips to
a new page before printing the text. You can use the NEED command alone without
specifying an argument.
The syntax of the NEED command is:
NEED
ON
OFF
number
B
trigger
ON
specifies that all lines between this command and the next NEED OFF command
are to be kept on the same page.
OFF
indicates the end of the lines that are to be kept on the same page.
number
is the number of lines that must remain on the same page.
B
specifies that all lines until the next blank line or until the next trigger character,
either alone or as part of another TGAL command, are to be kept on the same
page.
trigger
specifies that all lines until the next trigger character, either alone or as part of
another TGAL command, are to be kept on the same page.