06.03.2014 Views

Intel Fortran Language Reference - NCI National Facility

Intel Fortran Language Reference - NCI National Facility

Intel Fortran Language Reference - NCI National Facility

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

File Operation I/O Statements 12<br />

'NO'<br />

'UNKNOWN'<br />

If the file is not connected for direct access<br />

If the file is not connected<br />

EXIST Specifier<br />

The EXIST specifier asks whether a file exists and can be opened. It takes the following form:<br />

EXIST = ex<br />

ex<br />

Is a scalar default logical variable that is assigned one of the following values:<br />

.TRUE.<br />

.FALSE.<br />

The unit exists if it is a number in the range allowed by the processor.<br />

FORM Specifier<br />

If the specified file exists and can be opened, or if the specified unit<br />

exists<br />

If the specified file or unit does not exist or if the file exists but cannot<br />

be opened<br />

The FORM specifier asks whether a file is connected for formatted, unformatted, or binary (W*32,<br />

W*64) data transfer. It takes the following form:<br />

FORM = fm<br />

fm<br />

Is a scalar default character variable that is assigned one of the following values:<br />

'FORMATTED'<br />

'UNFORMATTED'<br />

'BINARY'<br />

'UNDEFINED'<br />

If the file is connected for formatted data transfer<br />

If the file is connected for unformatted data transfer<br />

If the file is connected for binary data transfer<br />

If the file is not connected<br />

FORMATTED Specifier<br />

The FORMATTED specifier asks whether a file is connected for formatted data transfer. It takes<br />

the following form:<br />

FORMATTED = fmt<br />

12-13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!