9.148. IS_IOSTAT_EOR
9.148 IS_IOSTAT_EOR — Test for end-of-record value
- Description:
-
IS_IOSTAT_EOR
tests whether an variable has the value of the I/O status “end of record”. The function is equivalent to comparing the variable with theIOSTAT_EOR
parameter of the intrinsic moduleISO_FORTRAN_ENV
. - Standard:
- Fortran 2003 and later
- Class:
- Elemental function
- Syntax:
-
RESULT = IS_IOSTAT_EOR(I)
- Arguments:
-
I Shall be of the type INTEGER
. - Return value:
- Returns a
LOGICAL
of the default kind, which.TRUE.
if I has the value which indicates an end of file condition forIOSTAT=
specifiers, and is.FALSE.
otherwise.
<