ENFORM Reference Manual
AS Clause
Clauses
058057 Tandem Computers Incorporated 5–15
Optional Plus Edit Descriptor
The optional plus edit descriptors are used to control the printing of a plus (+) sign.
The syntax is:
S
SS
SP
S or SS
indicates no plus (+) sign is to be printed.
SP
indicates a plus (+) sign is to be printed.
When an object-item or by-item with a positive value is printed, ENFORM does not
normally precede the value with a plus (+) sign. Specify SP when you want ENFORM
to precede a value with an optional plus sign.
Examples of the Optional Plus Edit Descriptor. The following examples show the effect of
the optional plus edit descriptor.
Format Item Value Printed Item
------ ---------- ------------
"SP F10.2" 123.00 +123.00
F10.2 123.00 123.00
"SP F10.2" -123.00 -123.00
"SP F10.2" 000.00 .00
Modifiers Modifiers alter the normal effect of edit descriptors. A modifier must immediately
precede the edit descriptor it modifies. Modifiers are enclosed within brackets ([ ])
and separated by commas.
Table 5-2 indicates which modifiers can be used with which edit descriptors. An X
indicates the combination is permitted.
Table 5-2. Permissible Modifiers and Edit Descriptors
Edit Descriptors
Modifiers A F I M
BZ, BN XXXX
LJ, RJ X
OC XXX
FL XXXX
SS X X