Guardian Procedure Calls Reference Manual (G06.25+)
Formatter Edit Descriptors
Guardian Procedure Calls Reference Manual—522629-013
F-7
Optional Plus Descriptors (S, SP, SS)
Optional Plus Descriptors (S, SP, SS)
Optional plus descriptors can be used to control whether optional plus characters
appear in numeric output fields. In the absence of explicit control, the formatter does
not produce any optional plus characters.
The forms of the optional plus descriptors are:
S SP SS
These descriptors have no effect upon input.
If the S descriptor is encountered in the format, the formatter does not produce a plus
in any subsequent position that normally contains an optional plus.
If the SP descriptor is encountered in the format, the formatter produces a plus in any
subsequent position that normally contains an optional plus.
The SS descriptor is the same as S (above).
An optional plus is any plus except those appearing in an exponent.
Blank Interpretation Descriptors (BN, BZ)
The blank interpretation descriptors have the following form:
BN BZ
These descriptors have no effect on output.
The BN and BZ descriptors can be used to specify the interpretation of blanks, other
than leading blanks, in numeric input fields. At the beginning of execution of the
FORMATDATA procedure, nonleading blank characters are ignored.
If a BZ descriptor is encountered in a format, all nonleading blank characters in
succeeding numeric input fields are treated as zeros.
If a BN descriptor is encountered in a format, all blank characters in succeeding
numeric input fields are ignored. The effect of ignoring blanks is to treat the input field
as if all blanks had been removed, the remaining portion of the field right-justified, and
the blanks reinserted as leading blanks. However, a field of all blanks has the value
zero.
The BN and BZ descriptors affect the B, D, E, F, G, I O, and Z edit descriptors only.