INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Error: Invalid form of array reference at (1)

Error: Invalid form of array reference at (1)

(OP)
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

RE: Error: Invalid form of array reference at (1)

(OP)
Never mind - I found the problem.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close