13.6.13 FILE Specifier

The FILE specifier indicates the name of the file to be connected to the unit. It takes the following form:

FILE = name

Is a character or numeric expression.

The name can be any pathname allowed by the operating system.

Any trailing blanks in the name are ignored.

If the following conditions occur:

then Compaq Fortran generates a file name in the form fort.n, where n is the logical unit number. On Windows systems, if compiler option /fpscomp:general is specified, omitting FILE implies STATUS='SCRATCH'.

If the file name is stored in a numeric scalar or array, the name must consist of ASCII characters terminated by an ASCII null character (zero byte). However, if it is stored in a character scalar or array, it must not contain a zero byte.

For More Information:

Previous Page Next Page Table of Contents