Don't know, but try<div>say result</div><div>after the 'q xy2gr'-command. then you know the output.</div><div><br></div><div>/Heiner<br><br><div class="gmail_quote">On Tue, Oct 19, 2010 at 9:07 AM, Andrew Revering <span dir="ltr"><<a href="mailto:andy@f5data.com">andy@f5data.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">This is probably a simple problem, but I can't figure it out…</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I'm using the OpenGrads superpack, and my variable gx
returns "environment" instead of a value. Any ideas?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">'q xy2gr 'sitelon+1' 'sitelat-1</p>
<p class="MsoNormal">maxx = subwrd(result,3)</p>
<p class="MsoNormal">gx = subwrd(result,3)</p>
<p class="MsoNormal">gy = subwrd(result,6)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">say 'Max value is 'gx</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">says…. "Max value is
environment"</p>
<p class="MsoNormal"> </p>
</div>
</div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Heiner Körnich <br>Dept. of Meteorology Tel: +46 8 164333<br>Stockholms University, SE-106 91 Stockholm, Sweden<br>Email: <a href="mailto:heiner@misu.su.se">heiner@misu.su.se</a> <a href="http://www.misu.su.se/~heiner/">www.misu.su.se/~heiner/</a><br>
</div>