Hi José,<br><br>Try this:<br><br>(......)<br>t=1<br>while (t<=5)<br>'set t 't<br>(...)<br>t=t+1<br>endwhile<br><br>Sue<br><br><br><br><div><span class="gmail_quote">On 5/31/07, <b class="gmail_sendername">Jose Augusto Paixao Veiga
</b> <<a href="mailto:jaugusto@cptec.inpe.br">jaugusto@cptec.inpe.br</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear all,<br>In a short script I am trying to update values to include in my graphics for<br>each time. For the first time it works (t=1), however in the following times<br>(t>1) the values are not updated in my graphic output. The values that rise
<br>are "grid". Where am I making mistakes?<br>Bellow I put part of the script.<br><br>I really appreciate helps<br><br>Thanks in advance<br><br>Veiga<br><br><br>'reinit'<br>'open file.ctl'<br><br>
i=1<br> while (i <= 5)<br>'set t ' i<br><br>'d ge/1e03'<br>rc=sublin(result,1)<br>nval=subwrd(rc,4)<br>ge=substr(nval,1,4)<br><br>ge = ge<br><br>'draw string 0.7 7.5 '%ge<br><br>'draw rec 2.5
2.0 4.5 3.5'<br><br>pull n<br>'c'<br><br>i=i+1<br> endwhile<br></blockquote></div><br>