7.1.2 I/O List

The I/O list in an input or output statement contains the scalar references, array name references, and aggregate references specifying the memory locations from which or to which data will be transferred. An I/O list specifier takes the following form:

s [,s] . . .
s
Is a simple list element or an implied-DO list.

The I/O statement assigns values to (or transfers values from) the list elements in the order in which they appear, from left to right.

The I/O list in an input statement cannot contain constants and expressions because these do not specify named memory locations that can be referenced later in the program.

The I/O list in an output statement can contain constants and expressions, however, because the compiler can use temporary memory locations to hold these values during the execution of the I/O statement. Integer constants are treated as INTEGER*4, unless they are in the INTEGER*8 (Alpha only) range.

For More Information:

For details on scalar, array name, and aggregate references, see Section 2.2.6.


Previous Page Next Page Table of Contents