TGAL Manual
SECT Command
TGAL Commands
2–56 060865 Tandem Computers Incorporated
SECT Command Use the SECT command to control page numbers and define section titles. With this
command, you can change the sequence of page numbers, stop the printing of page
numbers, and add a section title to a page number. The SECT command prints on the
third line below the last EDIT line designated for text.
The syntax of the SECT command is:
SECT "
title
"
number
[ CENTER ][ "
right-string
" ]]
title
is the text to be printed before the page number.
number
is the number to be used next as the page number.
CENTER
specifies the page number and the title are to be centered.
right-string
is the text to be printed after the page number.
Considerations
This command concatenates the title and the page number , so you must include a
space within the quotations surrounding the title.
When you turn off page numbers (SECT “ ”0), you leave TGAL without a way to
determine which page it is on. Thus, without the ALWAYS option, the ALT
command does not work.
The name you specify in the SECT command is the same name you use in the OUT
command to print selected pages of a document.
If you do not use this command, TGAL assumes:
SECT " " 1