11.3.7 Colon Editing (:)

The colon edit descriptor terminates format control if no more items are in the I/O list. For example, suppose the following statements are specified:

     PRINT 1,3
     PRINT 2,13
1    FORMAT (' I=',I2,' J=',I2)
2    FORMAT (' K=',I2,:,' L=',I2)

The following lines are written (the symbol ^ represents a nonprinting blank character):

I=^ 3^ J=
K=13

If I/O list items remain, the colon edit descriptor has no effect.


Previous Page Next Page Table of Contents