FORTRAN Reference Manual
Statements
FORTRAN Reference Manual—528615-001
7-47
Editing Numeric Data
For example, suppose the data item is type INTEGER*4. The binary conversions 
produced are shown in Table 7-3 (circumflexes designate blank characters).
The O Descriptor
The O w and O w. m descriptors convert a data item to octal (base eight) external 
representation. You can also produce octal conversion using an I w. m.8 descriptor. The 
octal digits are 0 through 7. Each octal digit represents three bits of the internal data 
value.
For example, suppose the data item is type INTEGER*4. The octal conversions 
produced are shown in Table 7-4 (circumflexes designate blank characters).
Table 7-3. Values Converted With the B Descriptor
Internal Value
Format 
Descriptor External Value
0I10.1.2
^^^^^^^^^
0
5I10.1.2
^^^^^^^
101
-3 I10.1.2
^^^^^^^
-11
0B10
^^^^^^^^^
0
5B10
^^^^^^^
101
-3 B10 **********
0B36
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0
5B36
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
101
-3 B36
^^^^
11111111111111111111111111111101
0I36.6.2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
000000
5I36.6.2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
000101
-3 I36.6.2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-000011
0B36.6
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
000000
5B36.6
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
000101
-3 B36.6
^^^^
11111111111111111111111111111101
Table 7-4. Values Converted With the O Descriptor (page1of2)
Internal Value Format Descriptor External Value
0 I10.1.8
^^^^^^^^^
0
5 I10.1.8
^^^^^^^^^
5
-3 I10.1.8
^^^^^^^^
-3
0O10
^^^^^^^^^
0
5O10
^^^^^^^^^
5
-3 O10 **********










