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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: Invalid form of array reference at (1)

Status
Not open for further replies.

GreenPatriot

Programmer
Jun 11, 2014
2
US
I apologize if this is not the proper forum for error questions, but I am really at a loss with this one.

I wrote a code for my dissertation that I have used thousands of times. However, I am now in the process of modifying it to
account for a different physical scenario and have gotten the error posted in the subject line of this thread.

In the original code, a single equality is defined over three lines (I placed a 'c' at column 6 in lines two and three of said equality to allow for continuation across the three lines) - again, this runs without a problem.

However, in the modified code I am getting the array reference error at column 72 of the third line of the equality. After a quick internet search, I find that this error typically arises when the length of a line of code exceeds the 72 character max for f77 (which I am coding in - I know, don't make fun of me). However, I believe that I have continued the one equality across the three lines correctly; none of the lines come anywhere near column 72.

What is even stranger is that this equality is (essentially) repeated 10-15 times in the program, but I am only getting the error at one location in the code.

I am usually pretty self-reliant at figuring out errors, but this one has me stumped. Any help would be greatly appreciated.

Best,

-N
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top