FORTRAN Reference Manual

Statements
FORTRAN Reference Manual528615-001
7-42
Edit Descriptors
w Nonzero unsigned integer constant specifying the field width in number of character positions in the external
record. Depending on the edit specifier (I, E, F, D, G, B, O, Z or A), the field width can specify the number of
positions necessary to accommodate digits, characters, leading blanks, + or - signs, decimal point, and
exponent.
d Unsigned integer constant specifying the number of digits to the right of the decimal point. On output all
numbers are rounded.
e Nonzero unsigned integer constant specifying the number of digits in the exponent.
m Unsigned integer constant specifying the minimum number of digits to output.
b Unsigned integer constant specifying the number base for the output data.
Table 7-2. Nonrepeatable Edit Descriptors
Descriptor Type Action
SP Numeric output control Write plus signs (+).
SS Suppress plus signs.
S Suppress plus signs.
BN Numeric output control Ignore blanks.
BZ Treat blanks as zeros.
nX Tabulation control Position forward n spaces.
Tn Transmit next character at nth character
position.
TRn Position forward n spaces.
TLn Position backward n spaces.
' ' Character Write the characters within the apostrophes.
nH Write the n characters that follow the H of
the descriptor.
: Format control Terminate format control if no I/O list items
remain.
/ End of record Indicate end of current input or output
record.
kP Scale Establish scaling for numeric editing.
Note: Default values are underlined.
Table 7-1. Repeatable Edit Descriptors (page 2 of 2)
Descriptor Type
Format
Example
Sample
Output Description