Intel® Fortran Compiler 16.0 User and Reference Guide

T Editing

The T edit descriptor specifies a character position in an I/O record. It takes the following form:

Tn

The n is a positive integer literal constant (with no kind parameter) indicating the character position of the record, relative to the left tab limit.

On input, the T descriptor positions the external record at the character position specified by n. On output, the T descriptor indicates that data transfer begins at the nth character position of the external record.

Examples

In the following examples, the symbol ^ represents a nonprinting blank character.

Suppose a file has a record containing the value ABC^^^XYZ, and the following statements are executed:

       READ (11,10) VALUE1, VALUE2
  10   FORMAT (T7,A3,T1,A3)

The values read first are XYZ, then ABC.

Suppose the following statements are executed:

     PRINT 25
25   FORMAT (T51,'COLUMN 2',T21,'COLUMN 1')

The following line is printed at the positions indicated:

Position 20                    Position 50
   |                              |
   COLUMN 1                       COLUMN 2

Note that the first character of the record printed was reserved as a control character.

See Also