Intel® Fortran Compiler 16.0 User and Reference Guide

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