This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gfortran



Read from character variable


Code that works on g77

      character*128 indata,format
..
..
..
    1 read(*,'(a)',end=2) indata
..
      format derived from comma delimited data (*.csv)
..
      read(indata,*) variable_list
or    read(indata,format) variable_list
..
      goto 1
    2 continue
..
..
      more code
      stop
      end

causes a number of problems

is this to be expected at the current gfortran implementation

gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

Z K Dabek





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]