Slash Editing ( / )

The slash edit descriptor terminates data transfer for the current record and starts data transfer for a new record. It takes the following form:

[r]/

The r is a repeat specification. It must be a positive default integer literal constant; no kind parameter can be specified.

The range of r is 1 through 2147483647 (2**31-1) on Alpha and ia64 processors; 1 through 32767 (2**15-1) on ia32 processors. If r is omitted, it is assumed to be 1.

Multiple slashes cause the system to skip input records or to output blank records, as follows:

Examples

 !     The following statements write spreadsheet column and row labels:
       WRITE (*, 100)
 100   FORMAT ('   A     B     C     D     E'                             &
      &        /,' 1',/,' 2',/,' 3',/,' 4',/,' 5')

This example generates the following output:

   A     B     C     D     E
 1
 2
 3
 4
 5

For More Information:

See Forms for Control Edit Descriptors.