ok so would some one plz explain what is gained by writing a fortran type (40F1.0) to file then reading it in?
FMAT is fortran type
CHARACTER FMAT1(127)
OPEN (10,FILE='NEWT',STATUS='NEW')
WRITE (10,'(A)') FMAT
CLOSE (10)
OPEN (10,FILE='NEWT')
READ (10,5)(FMAT1(I), I = 1,127)
5 FORMAT (127A1)
CLOSE (10)
FMAT is fortran type
CHARACTER FMAT1(127)
OPEN (10,FILE='NEWT',STATUS='NEW')
WRITE (10,'(A)') FMAT
CLOSE (10)
OPEN (10,FILE='NEWT')
READ (10,5)(FMAT1(I), I = 1,127)
5 FORMAT (127A1)
CLOSE (10)