loop exit without execution

sreenivas desamsetti sreeds82 at YAHOO.COM
Thu Dec 4 14:55:50 EST 2008


Dear Sir,

I used the below script down of another while loop

For second time the latlong.dat is not initiated form the beginning.

What type of initiation command we need to use.

*******************************************************************

st=1

while (st<=10)

ret=read('latlong.dat')

coord=sublin(ret,2)

say coord

if(coord < 0); say 'File Error 1' ; break; return; endif;

*******************************************************************

How to initiate a file from the beginning.

I will be thankful for your suggestion.

Thanking you

D Srinivas

Desamsetti Srinivas

     Research Scholar

     Department of Meteorology and Oceanography

     Andhra University

     Visakhapatnam - 530 003

     91 9948530618 (M)

     sreeds82 at yahoo.com

     sreeds82 at rediffmail.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20081204/ea3c332b/attachment.html 


More information about the gradsusr mailing list