Visible to Intel only — GUID: GUID-53566D3D-10C5-4C12-84CF-4792E8D94C81
Visible to Intel only — GUID: GUID-53566D3D-10C5-4C12-84CF-4792E8D94C81
INQUIRE: IOLENGTH Specifier
The IOLENGTH specifier is used with the inquire by output list form of the INQUIRE statement, which has an iolist. It takes the form:
IOLENGTH = iolen
iolen |
Is an integer scalar variable. |
An INQUIRE by output list statement assigns the number of storage units that would be required to store the data specified in the iolist in an unformatted file to iolen. iolen can be used as a RECL= specifier in a subsequent OPEN statement when opening a file for unformatted output. The value is expressed in 4-byte units (longwords) by default. The value can be expressed in bytes if compiler option assume byterecl is specified.
The iolist of the INQUIRE statement cannot contain any derived-type list items that require defined I/O procedures. If a derived-type variable appears in the iolist, the value assigned to iolen assumes that no defined I/O procedure is invoked.