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!

Array Too Long

Status
Not open for further replies.

AdYrL

Technical User
Oct 18, 2008
5
SG
Hi,

I've recently written a program, but it seems that one part of it is too long, the words appear in green and then red. I'm using the fortran fixed form programming

Is there a way for me to shorten the array because it deals with calculations. I've tried using "&" and it doesn't work still. Please help!Thanks!

call CPF(xi,eta,xb(i),yb(i),nx(i),ny(i),lg(i),PF1,PF2)

sum=sum+phi(i)*((xm(i)+ym(i))*PF2-PF1*(nx(i)+ny(i))- dphi(i)*PF1*(xm(i)+ym(i))

10 continue

The last part of it showing (xm(i)+ym(i)) starts to become green and red.
 
Indefinite help request.
Do you have too long (for this Fortran implementation) array
or
you can't continue too long source statement?
The last case is the othery story (remember unforgettable 6th position in the fixed format;)...
 
For fixed format, last column is column 72
Continuation is any non-space character in column 6
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top