Guardian Procedure Calls Reference Manual (G06.25+)

Formatter Edit Descriptors
Guardian Procedure Calls Reference Manual522629-013
F-16
The I Edit Descriptor
The value of n is 4 for Gw.d format and (e+2) for Gw.dEe format. The n(‘ ’) used in the
above example indicates
nth number of blanks. If the F form is chosen, then the scale
factor is ignored. The following comparison between F formatting and G formatting is
given by way of illustration:
When an overflow condition occurs in a numeric field, the field is filled with asterisks (in
the absence of any specification to the contrary by an overflow decoration), as shown
above.
The “|” character is used to denote the boundaries of the output field.
The I Edit Descriptor
The integer edit descriptor is used to display or interpret data values in an integer form.
The I edit descriptor has the following forms:
I
w OR Iw.m OR Iw.m.b
w an unsigned integer constant that defines the total field width and cannot
exceed 255. The field processed is the
w characters starting at the current
position. After the field is processed, the current position is advanced by
w
characters.
m an unsigned integer constant that defines the number of digits that must be
present on output.
10 ** (d-2) 10 ** (d-1) F(w-n).1,n(' ')
10 ** (d-1) 10 ** d F(w-n).0,n(' ')
10 ** d Ew.d or Ew.dEe
FG
Value F13.6 Conversion G13.6 Conversion
.01234567 | 0.012346| | 0.123457E-01|
.12345678 | 0.123457| | 0.123457 |
1.23456789 | 1.234568| | 1.23457 |
12.34567890 | 12.345679| | 12.3457 |
123.45678900 | 123.456789| | 123.457 |
1234.56789000 | 1234.567890| | 1234.57 |
12345.67890000 | 12345.678900| | 12345.7 |
123456.78900000 |123456.789000| | 123457. |
1234567.89000000 |*************| | 0.123457E+07|
Note. To use the G edit descriptor for output, floating-point firmware is required.
Magnitude of Data
Not Less Than Less Than Equivalent Conversion Effected