I check an old FORTRAN 77 program.
It has an FMT character array, lets say:
CHARACTER*4 FMT(4)
which gets some elements like:
/'9,','1X','A','0'/ ...etc...
During execution, FMT elements might get different values e.g.:
FMT(4) = '3x'
I m confused because the WRITE statement is like this
WRITE (xOUT,FMT) 'Result: ',(trek(j),j=1,Nev)
The FMT is an array. Right ? Not a string.
So what FORMAT exactly will the WRITE read from FMT ?
Any help is much appreciated.