[Bug fortran/31614] Inability to read ascii text with generic 'f' format
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 18 02:45:00 GMT 2007
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-04-18 03:44 -------
I think you should just use read(10,*) or better yet, read the whole line into
a single string and search for the "=" in the string, noting the_position, then
use read(stringname(the_position:),*) input list
In other words you can specify a string section in the read to exclude all the
junk in the front part.
Others chime in. :) We can not change the behavior of fortran, but we can use
it.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31614
More information about the Gcc-bugs
mailing list