ENFORM Reference Manual

SKIP Clause
Clauses
058057 Tandem Computers Incorporated 5–57
SKIP Clause The SKIP clause allows you to indicate the number of lines ENFORM should move
forward before continuing printing. The syntax of the SKIP clause is:
SKIP [
number
]
number
an integer representing the number of lines.
Sometimes it is desirable to print more than one target-item under the same column
heading. If you want to do this, you can specify a SKIP clause after the first target-
item, then use the TAB clause to position the printing of the second target-item under
the first target-item. The second target-item should be modified by a NOHEAD clause
to prevent ENFORM from printing the unwanted column heading. ENFORM prints
the target-items under a a suppressed column heading, one target-item per line.
The option variable @VSPACE affects the number of lines ENFORM advances when
the SKIP clause is specified. Refer to the Option Variable Clause in this section for
more information.
Specifying the symbol / (slash) is equivalent to SKIP or SKIP 1.
SKIP Clause with a LIST
Target-item or By-item
The SKIP clause can precede or follow a target-item or by-item within a LIST
statement. If number is specified, ENFORM moves forward the specified number of
lines before printing continues. If number is not specified, ENFORM moves forward to
the next line.
In the following example, address and city are printed in the same column on separate
lines.
LIST address,SKIP,
city NOHEAD SKIP 2;
ADDRESS
-------
UNIVERSITY WAY
PHILADELPHIA
100 CALIFORNIA STREET
SAN FRANCISCO
SKIP Clause with a
Print List
The SKIP clause can be part of the print list of an AT END statement or clause, an AT
START statement or clause, a FOOTING statement or clause, a SUBFOOTING
statement or clause, a SUBTITLE statement or clause, or an AFTER CHANGE or
BEFORE CHANGE clause. When number is specified, ENFORM moves forward the
specified number of lines every time the SKIP clause is processed. When number is not
specified, ENFORM moves forward to the next line when the SKIP clause is processed.