AT END PRINT Clause
Clauses
058057 Tandem Computers Incorporated
5–27
AT END PRINT Clause
The AT END PRINT clause prints information at the end of the current report. This
clause is an optional part of the LIST statement. The syntax of the AT END PRINT
clause is:
AT END PRINT
print-list [ CENTER ]
print-list
contains any combination of literals, FORM, SKIP, SPACE and TAB clauses.
Print-list can also contain the following elements that can be modified by AS, AS
DATE or AS TIME clauses: field names, arithmetic expressions, IF/THEN/ELSE
expressions, System Variable clauses, JULIAN-DATE clauses, TIMESTAMP-DATE
clauses, TIMESTAMP-TIME clauses, user variables, or parameter names.
Clauses that can be used in a print-list are described in this section. The other
elements are described in Section 3.
Specifying a Field Name
within an AT END PRINT
Clause
If you specify a field name within the print-list of an AT END PRINT clause, ENFORM
prints the same value as in the last row of the report. A field name appearing within
the print-list of an AT END PRINT clause need not be explicitly included within the
associated LIST statement. If the field name is not included, ENFORM in effect adds
the field to the LIST statement with a NOPRINT clause.
Spacing Considerations
By default, the information you specify in the print-list of an AT END PRINT clause
begins printing in the same column position as the leftmost column of the report.
Using the SPACE or TAB clause as the first element of the print-list overrides the
default. SPACE or TAB clauses can be used anywhere within the print-list. In the
following example, the SPACE clause causes the two literals to be separated by
15 spaces:
AT END PRINT "Report" SPACE 15 "Total Sales",
Report Total Sales
If you specify either a SKIP clause or the slash symbol (/) within a print-list, ENFORM
advances one or more lines before printing the rest of the AT END print-list. The
number of lines advanced can be affected by one or more of the following: the digit (if
any) following the keyword SKIP, the number of slashes specified, or the option
variable @VSPACE. In the following example, the SKIP clause in the print-list causes
ENFORM to print two lines:
AT END PRINT "End of Report for" SKIP "Region " regnum,
End of Report for
Region 1
Содержание ENFORM 058057
Страница 5: ...New and Changed Information iv 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 6: ...New and Changed Information 058057 Tandem Computers Incorporated v...
Страница 18: ...Preface xvi 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 19: ...Preface 058057 Tandem Computers Incorporated xvii...
Страница 21: ...Notation Conventions xviii 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 25: ...ENFORM Terminology Introduction 1 4 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 121: ...TITLE Statement Statements 4 50 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 227: ...ENFORM Procedures ENFORM Syntax Summary A 16 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 269: ...Glossary Glossary 4 058057 Tandem Computers Incorporated This page left intentionally blank...