Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem changing subroutine name.... 1

Status
Not open for further replies.

echorak

Programmer
Apr 15, 2005
5
US
I'm trying to change the name of a subroutine I use in a fortran program. I change the name in both the calling program and the subroutine. But when I do this I get a syntax error: unbalanced parentheses. This makes absolutely no sense, as I don't alter the parentheses in any way. I also get the same error when I change any of the variables that are passed as arguments to the subroutine. I've never seen anything like this.

anyone else had this problem?
 
Which version of Fortran?

Some versions of F77 have a limit of 72 chars per line. After renaming, have some of the bits gone over column 72?
 
This code was written in fortran 77, although my compiler processes both 90 7 77. And you were right, when I change it, it goes past 72 characters. Thanks for the tip.
 
I really miss punched cards... :)

And 80 column green screens... :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top