Printing / In A Column Heading; Heading For Subscripted Elements - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Sometimes, the / character needs to appear within a column heading. In this case, use
Printing / in a Column
Heading
the SET statement described in Section 4 to change the @NEWLINE option variable
from a / to a different character. After the new line character is redefined, the new
special character can be used within the heading string instead of the / character. In
the following example, the new line character is changed to a number sign (#) causing
Region and Number to print on two lines, and the symbol / inside the print list is
printed between Branch and Number.
Notice that when the / symbol appears outside of the heading clause, it causes
ENFORM to advance 1 line before printing the next target-item. Changing the
@NEWLINE character does not affect this use of the / symbol.
Heading for Subscripted
When a single subscripted element is modified by a HEADING clause, ENFORM
prints the specified heading. For example:
Elements
causes ENFORM to print:
When an element including a subscript range is modified by a HEADING clause,
ENFORM includes the subscript in the specified heading. For example:
causes ENFORM to print:
058057 Tandem Computers Incorporated
SET @NEWLINE TO "#";
LIST regnum HEADING "Region#Number",
branchnum HEADING "Branch/Number"/;
Region
Number
Branch/Number
------
-------------
1
1
LIST month [ 3 ], HEADING "MARCH";
MARCH
-----
...
LIST month [ 1:3 ], HEADING "FIRST QUARTER";
FIRST QUARTER
FIRST QUARTER
[1]
-------------
-------------
...
1
2
FIRST QUARTER
[2]
[3]
-------------
...
Clauses
HEADING Clause
...
5–41

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents