<div dir="rtl"><div dir="ltr" style="text-align:left"><span id="result_box" class="" lang="en"><span class="">I'm trying</span> <span class="">to do</span> <span class="">a script of </span></span><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">averages</span></span></span> <span class="">like this</span> <span class="">example</span> <span class="">:<br>
<br><br>'set t 1 '<br>'define varav=ave(t850-273.16,t=1,t=1,1)'<br>'d varav'<br>cc=subwrd(result,4)<br>'draw string 0.5 8 jan='cc<br><br></span></span><span id="result_box" class="" lang="en"><span class="">I want</span> <span class="">my</span> <span class="">script</span> <span class="">calculates</span> <span class="">every 12</span> <span class="">months,</span> <span class="">how do I create</span> <span class="">a loop</span> <span class="">script</span> <span class="">that</span> <span class="">calculates</span> <span class="">every 12</span> <span class="">month</span> <span class="">average</span> <span class="">of the same</span> <span class="">month.<br>
</span></span><span id="result_box" class="" lang="en"><span class="">I</span> <span class="">will give</span> <span class="">an example of what</span> <span class="">I mean</span><span class="">:</span> <span class="">I want to begin</span> <span class="">to calculate</span> <span class="">average of</span> <span class="">January 1979</span> <span class="">and then</span> <span class="">later</span> <span class="">to calculate</span> <span class="">directly</span> <span class="">the</span> <span class="">January 1980</span> <span class="">and so on.<br>
</span></span><span id="result_box" class="" lang="en"><span class="">Is it possible</span> <span class="">that the</span> <span class="">result</span> <span class="">will write</span> <span class="">directly to the</span> <span class="">Excel</span> <span class="">file</span><span class="">, then</span> <span class="">how to</span> <span class="">write</span> <span class="">the command</span> <span class="">to it.</span><br>
<br><span class="">Please note</span> <span class="">that I</span> <span class="">first started</span> <span class="">Grads.<br><br></span></span>Thank you so much. <br><br></div><div dir="ltr" style="text-align:left">avi<br>
</div><div dir="ltr" style="text-align:left"><br></div><div style="text-align:right"><br></div></div>