Draw cities on a map

JL@gmu jli9 at GMU.EDU
Mon Apr 13 09:48:27 EDT 2009


There is nothing wrong with 'subwrd'
try to use 'query' command and 'subwrd' in a script file instead of
directly typing in,
you will find out they work normally.

Good luck
On Apr 13, 2009, at 9:03 AM, qinglan at HKUSUA.HKU.HK wrote:

> Dear all,
>
> I tried to follow the instruction of draw cities on a map. I typed
> these:
> ga-> q w2xy 114.1 22.55
> X = 5.70783  Y = 4.17181
> ga-> x=subwrd(result, 3)
>
> The grads window showed:
>
> Syntax Error:  Invalid Operand
>   'subwrd' not a variable or function name
>   Error ocurred at column 1
> DEFINE error:  Invalid expression.
>
> I checked the information on line: it showed that subwrd is an
> intrinsic function, so I should be able to use this function easily.
> Why the window showed above message? Have I missed to install some
> functions? I have used grads for some time. It seemed to work fine.
> What is the problem?
>
> Any help and suggestion is highly appreciated!
>
> Best regards,
> Qinglan Li






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090413/d5257a9e/attachment.html 


More information about the gradsusr mailing list