Control-D not closing unit 5 in list-directed input
Tobias Burnus
tobias.burnus@physik.fu-berlin.de
Sat Jan 26 00:03:00 GMT 2008
Hi John,
John Nabelek wrote:
> With a statement such as
> read(5,*,iostat=ios) number
> entering Control-D has no effect.
I cannot reproduce it. I tried gfortran 4.1, 4.2 and 4.3
on an x86-64 Linux system and it simply works: ctrl-d is
accepted by READ and the value of number is not changed.
Thus we need more information, especially on which system
you are and which version of gfortran you have.
gfortran -v
shows both.
Tobias
More information about the Fortran
mailing list