I need to work on Fortran90 code on my Macbook Pro, which was written on Microsoft Developer Tools years ago. As a free option, I have installed gfortran
on my Macbook to be able to compile it. The original code includes &
continuation character for the long lines but I am not able to use it. Without &
character, everything works fine. What might be the problem? Do I need to activate something to be able to use &
character?
For example, I think something like this should work:
x = 1
y = 2
z = x+
&y
end
But instead, I am having this error. It might be end of line error. How can I solve it?
3:72: Error: Syntax error in expression at (1)
4:9: Error: Invalid character in name at (1)
x = 1 y = 2 z = x+ &y
– mantrasuser3 Mar 21 '16 at 15:56But instead, I am having this error. It might be end of line error. How can I solve it? 3:72: Error: Syntax error in expression at (1) 4:9: Error: Invalid character in name at (1) Error: Unexpected end of file