Dick,<div><br></div><div>I believe the error is due to no values in your world-coordinate variables. I get the same error you do, unless I initialize lon.start and lat.start with real numbers. For example, try running it again after adding this line before the query line (for example):</div>
<div>lon.start=12.5;lat.start=45.2</div><div><br></div><div>Good luck</div><div>Stephen Mc<br><br><div class="gmail_quote">On Mon, Mar 12, 2012 at 4:42 PM, D. Wismeijer <span dir="ltr"><<a href="mailto:dick@wismeijer.com">dick@wismeijer.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="NL" link="blue" vlink="purple"><div><p><span lang="EN-GB"> Hi Grads users<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">The following code delivers the error message described below. Any help to identify the coding error would be appreciated.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Code:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">'q w2xy 'lon.start' 'lat.start<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">xx.start=subwrd(result,3)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">yy.start=subwrd(result,6)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">*Mark each point with a period<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">*say 'This means x is 'xx.start' and y is 'yy.start<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">'set string 1 c 10 0'<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">'set strsiz 0.3'<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">'draw string 'xx.start' 'yy.start+0.1' .'<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Results in:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Querry Error: Syntax is QUERRY W2XY LonLat<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Non-numeric args to numeric operation<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Any help would be appreciated<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Rgds<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Dick<u></u><u></u></span></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></div>
<pre>***************************************************
The information contained in this e-mail message
is intended only for the use of the recipient(s)
named above and may contain information that is
privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not
review, copy or distribute this message. If you have
received this communication in error, please notify
the sender immediately by e-mail, and delete the original message.
***************************************************