In article <yaHmf.142102$ XXXX@XXXXX.COM >,
"James Giles" < XXXX@XXXXX.COM > writes:
Thanks for confirm my interpretation.
The standard states otherwise. See 18.104.22.168(2). The first
READ will position the file to a point *after* the endfile
That would violate the Fortran 95 standard. 22.214.171.124(2) states
If the file specified in the input statement is an external
file, it is positioned after the endfile record,
The question is what happens with the second READ above. You
are already beyond the endfile record. Is is accepted to essentially
do nothing and (re)position the file to a position after the
the endfile record, or is it an error?