fields in GrADS
Kristian Horvath
horvath at CIRUS.DHZ.HR
Wed Feb 23 11:22:23 EST 2005
Dear GrADS people,
I would like to write a while loop and every time when passing the loop remember the value of a variable for manipulation after the loop.
Something like:
count=1
while ( count <= 10 )
'd pslv/100'
'q pos'
a=subwrd(result,3)
count=count+1
endwhile
where I would like to have values of a(1), a(2)...a(10) after in the script.
I would appreciate any suggestions,
Cheers,
Kristian
_________________________________________
Kristian Horvath
research fellow
Croatian Meteorological and Hydrological Service
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20050223/ad7fe0a5/attachment.html
More information about the gradsusr
mailing list