Two of Eef's bugs, was: Re: gfortran
Thomas Koenig
Thomas.Koenig@online.de
Fri Dec 22 19:16:00 GMT 2006
On Fri, Dec 22, 2006 at 04:48:03PM +0100, Thomas Koenig wrote:
> On Fri, Dec 22, 2006 at 04:19:20PM +0100, Tobias Schlüter wrote:
>
> > Eef relies on the following to work (in his case i<100):
> > integer i
> > character*20 c
> > write (c(1:5),*) i
> > end
>
> Looking at the F95 draft standard, I find under 9.2.2.1:
>
> (2) A record of an internal file is a scalar character variable.
> IMHO, this program is in violation, because c(1:5) is not a
> character variable (but I'm open to corrections on this one).
Actually, I now think I was wrong, because of 2.4.3.3.1, but I've
asked on comp.lang.fortran. Let's see what the experts say :-)
Thomas
More information about the Fortran
mailing list