<div>I attached the script with the problem so you cod look at the spacing on the script but I am continuing to have problems with the While/Endwhile loop.</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>Jason<br><br></div>
<div class="gmail_quote">On Fri, Jan 8, 2010 at 10:06 AM, James T. Potemra <span dir="ltr"><<a href="mailto:jimp@hawaii.edu">jimp@hawaii.edu</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Jason:<br><br>This looks okay to me in terms of the while loop, however line 5 doesn't really do anything. In fact. that line should give an error like "name to long missing =" (the syntax is define newvar=something). Is this really the entire script?<br>
<br>Jim<br><br>Jason Snyder wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">To Whom it May Concern,<br> I tried posting onto onto the GRADS users group website and cannot access it so I decided to post my question here.<br> I am trying to do the while loop with the script below:<br>
</div> 'sdfopen <a href="http://uwndavg2001.nc/" target="_blank">uwndavg2001.nc</a> <<a href="http://uwndavg2001.nc/" target="_blank">http://uwndavg2001.nc</a>>'
<div class="im"><br>count=1<br>while (count < 10)<br> 'set t 'count<br> 'define uwndavg'<br>count = count + 1<br>endwhile<br> however, I keep getting this error when running this script:<br> unable to locate ENDWHILE statement for the WHILE statement at line 3. I have endwhile statement so I am not sure what is going on with this script. Can you help me with it?<br>
Thanks,<br> Jason<br> <br></div></blockquote></blockquote></div><br>