Runtime error when using RECL

Ignacio Fernández Galván jellby@yahoo.com
Thu Mar 15 19:26:00 GMT 2007


--- Jerry DeLisle <jvdelisle@verizon.net> wrote:

> > The following program fails for me:
> > 
> >   PROGRAM TEST
> >     INTEGER :: A
> >     OPEN(10, FORM="UNFORMATTED", RECL=1024)
> >     WRITE(10) A
> >   END PROGRAM TEST
> 
> Thanks for reporting this.  It is fixed now.

In case my comment in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31099
went unnoticed: it keeps failing when I rewind the file:

PROGRAM TEST
   INTEGER :: A
   OPEN(10, FORM="UNFORMATTED", RECL=1024)
   A = -1
   WRITE(10) A
   REWIND(10)
   WRITE(10) A
END PROGRAM TEST

Thanks!


		
___________________________________________________________ 
What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 



More information about the Fortran mailing list