gfortran compiler error messages
Howdy,
I am using gfortran, BBEdit, and the terminal to work on leaning Fortran. Many of the fortran examples of source code, mostly of the old Adventure game, that I have found are rather old and I get a mess of compiler error messages, which is ok, but I do not understand the message format completely.
for example;
C 9650 WORDS OF MESSAGE TEXT (LINES, LINSIZ).
results in.
C 9650 WORDS OF MESSAGE TEXT (LINES, LINSIZ).
1
Error: Unclassifiable statement at (1)
Which I take to mean that the compiler expects a comment to start with ! now.
===============================================================
these two lines of code
DIMENSION LTEXT(150),STEXT(150),KEY(150),COND(150),ABB(150),
1 ATLOC(150)
result in the following error message:
Error: Unclassifiable statement at (1)
advent.f90:37.61:
DIMENSION LTEXT(150),STEXT(150),KEY(150),COND(150),ABB(150),
1
Error: Invalid character in name at (1)
advent.f90:38.3:
1 ATLOC(150)
1
Error: Unclassifiable statement at (1)
I can read the Error: statement ok, it's just the 1 and (1) that I do not understand.
Can anyone tell me what they mean or direct me to a website that explains the error message formats?
Thank you,
DN
iMac, OS X Yosemite (10.10.2), Wants to be a Mac Pro!!