| www.delorie.com/djgpp/bugs/show.cgi | search |
The following program does not work properly:
===
program test
integer un
un = 11
open (un, file='test.txt')
read (un,*)
write (un, '(A)', ERR = 30) '2'
goto 40
30 print *,'Error'
40 close (un)
end
===
If the file test.txt consists of the 2 lines:
===
one
two
===
it should be after running the program 'test':
===
one
2
===
instead it is:
===
one
t
===This is not a DJGPP problem, it is something with the Fortran libraries. (I'm also not sure whether the Fortran 77 Standard allows to do this.) I'm closing this report.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2010 by DJ Delorie | Updated Jul 2010 |