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

ID 767251
Date 9/08/2022
Public

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

Document Table of Contents

INQUIRE: RECORDTYPE Specifier

The RECORDTYPE specifier asks which type of records are in a file. It takes the following form:

RECORDTYPE = rtype

rtype

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

'FIXED'

If the file is connected for fixed-length records

'VARIABLE'

If the file is connected for variable-length records

'SEGMENTED'

If the file is connected for unformatted sequential data transfer using segmented records

'STREAM'

If the file's records are not terminated

'STREAM_CR'

If the file's records are terminated with a carriage return

'STREAM_LF'

If the file's records are terminated with a line feed

'STREAM_CRLF'

If the file's records are terminated with a carriage return/line feed pair

'UNKNOWN'

If the file is not connected