Intel® Fortran Compiler 16.0 User and Reference Guide

INQUIRE: ACTION Specifier

The ACTION specifier asks which I/O operations are allowed for a file. It takes the following form:

ACTION = act

act

Is a scalar default character variable that is assigned one of the following values:

'READ'

If the file is connected for input only

'WRITE'

If the file is connected for output only

'READWRITE'

If the file is connected for both input and output

'UNDEFINED'

If the file is not connected