Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

INQUIRE: POSITION Specifier

The POSITION specifier asks the position of the file. It takes the following form:

POSITION = pos

pos

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

'REWIND'

If the file is connected with its position at its initial point

'APPEND'

If the file is connected with its position at its terminal point (or before its end-of-file record, if any)

'ASIS'

If the file is connected without changing its position

'UNDEFINED'

If the file is not connected, or is connected for direct access data transfer and a REWIND statement has not been performed on the unit