インテル® Fortran コンパイラー 19.0 デベロッパー・ガイドおよびリファレンス

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 Intel® 64 architecture; 1 through 32767 (2**15-1) on IA-32 architecture. 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')

The above example generates the following output:

   A     B     C     D     E
 1
 2
 3
 4
 5

See Also