Top: f77 Up: 10 - Format_Specifiers
Previous: 10,22 - L Next: 10,24 - P
Section 10,23: O
Ow[.m] (Octal Editing)
On input, O transfers "w" characters from the external field and
assigns them, as an octal value, to the corresponding I/O list
element (which can be any data type). The external field can
contain only the numerals 0 though 7; it cannot contain a sign, a
decimal point, or exponent field. An all blank field is treated as
a value of zero. If the value of the external field exceeds the
range of the corresponding list element, an error occurs.
On output, O transfers the octal value of the corresponding I/O
list element, right-justified, to an external field that is "w"
characters long. No signs are transmitted; a negative value is
transmitted in internal form. If the value does not fill the
field, leading spaces are inserted; if the value is too large for
the field, the entire field is filled with asterisks. If "m" is
present, the external field consists of at least "m" digits and, if
necessary, is zero filled on the left.
"w" must be large enough to include a possible minus sign. If "m"
is present, the external field consists of at least "m" digits and,
if necessary, is zero filled on the left.
Top: f77 Up: 10 - Format_Specifiers
Previous: 10,22 - L Next: 10,24 - P