## 8.5.1 Colon Edit Descriptor

In a format specification, the colon character (:) terminates format control if there are no more items in the I/O list. For example:

         PRINT 1,3

         PRINT 2,13

    1    FORMAT (' I=',I2,' J=',I2)

    2    FORMAT (' K=',I2,:,' L=',I2)

These statements produce the following output (the symbol ^ represents a nonprinting space character):

    I=^ 3^ J=

    K=13

The colon edit descriptor has no effect if I/O list items remain.

For More Information:

For details on format control, see Section 8.10.

Previous Page Next Page Table of Contents