strange do loop problem

From: ozan mert gokturk <zanmerto_at_nyahnyahspammersnyahnyah>
Date: Fri, 14 Dec 2007 12:54:33 -0800 (PST)

Dear NCL users,

I am having a weird situation with a do loop.

I have a loop processing approximately 1,660,000 lines
of ascii file. When i write

do i=0, dimsizes(data(:,0)) - 1

and proceed, loop never seems to be ending.

"dimsizes(data(:,0))" equals 1,660,000. I have checked
 it. On the other hand, if I write

do i=0, 1659999

and proceed, do loop ends healthily!

What could be the cause for this? Although I solved
the problem by entering the exact number of iterations
into the loop, I am not satisfied with my solution!!!

Thanks for any idea...

Ozan

      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Dec 14 2007 - 13:54:33 MST

This archive was generated by hypermail 2.2.0 : Mon Dec 31 2007 - 09:18:02 MST