Elemental Intrinsic Function (Generic): Tests for an end-of-record condition.
result=IS_IOSTAT_EOR(i)
i
(Input) Must be of type integer.
結果
The result type is default logical. The value of the result is true only if i is a value that could be assigned to the scalar integer variable in an IOSTAT= specifier to indicate an end-of-record condition.
例
INTEGER IO_STATUS
…
READ (30, ADVANCE='YES', IOSTAT=IO_STATUS) A, B, C