TGAL Manual

LINENO Command
TGAL Commands
060865 Tandem Computers Incorporated 2–37
LINENO Command Use the LINENO command to print line numbers corresponding to the line number in
your EDIT file. These numbers are displayed to the right of the text, eight spaces (or
the ninth column) beyond the line length specified by the OUTLEN command. The
LINENO command prints up to 15 characters for each command line. This command
is useful while developing a document. With it, you can find any errors in your EDIT
file quickly.
The syntax of the LINENO command is:
LINENO
ON
OFF
ON
prints line numbers and 15 characters of a command line to the right of the text.
OFF
stops printing line numbers.
Considerations
This command works best with devices that print more than 88 characters on a
line because you need almost 30 spaces more than your line length. Most printers
print 132 characters on a line; most terminals hold less than 88.
The last LINENO command on the page determines the action for that page and
the following pages. To stop printing line numbers and commands, put a
LINENO OFF command after the next NEW command or some other page break.
You usually use this command when you run TGAL, rather than putting it in the
EDIT file.
If you do not use this command, TGAL assumes:
LINENO OFF
Example
This example shows one page of formatted copy. The LINENO command is issued
when TGAL is run. If you enter:
TGAL/IN sample, OUT $S,#printer/LINENO ON