I am getting what I believe to be a spurious syntax error in some old Fortran that I am compiling. A small example illustrates the error
gives the following message
Thanks for any help that you can give.
Code:
PROGRAM TEST
IMPLICIT REAL*8 (A-H, O-Z)
READ (I1) NFS
READ (I1) (FUSGAM(J), J=1,NFS)
END
Code:
test.F:4.15:
READ (I1) (FUSGAM(J), J=1,NFS)
1
Error: Expected variable in READ statement at (1)
Thanks for any help that you can give.