Hi,
I am new to fortran and I *have* to work on a fortran77 code that somebody wrote a while ago.
I am trying to make sense of the errors that I get when I compile it and I hope that someone of you experts could help me.
In particular I have a line like this:
SUBROUTINE NAME_of_SUBROUTINE(NAME1,NAME2)gC Comment about the subroutine
When I compile using GFORTRAN I get:
Error: Syntax error in SUBROUTINE statement at (1)
Where (1) is placed under gC.
1. Is gC a "garbage collector"?
2. Once I remove it, I get no error. Do I have to add some additional package? Or can I just remove it?
Thanks. Cheers
Fox
I am new to fortran and I *have* to work on a fortran77 code that somebody wrote a while ago.
I am trying to make sense of the errors that I get when I compile it and I hope that someone of you experts could help me.
In particular I have a line like this:
SUBROUTINE NAME_of_SUBROUTINE(NAME1,NAME2)gC Comment about the subroutine
When I compile using GFORTRAN I get:
Error: Syntax error in SUBROUTINE statement at (1)
Where (1) is placed under gC.
1. Is gC a "garbage collector"?
2. Once I remove it, I get no error. Do I have to add some additional package? Or can I just remove it?
Thanks. Cheers
Fox