my script error

Antoy Chang antoyc at YAHOO.COM
Tue Nov 17 03:09:30 EST 2009


Dear All,
Can someone here help me this script error, my script is as below :

'd wdr' 
wind_dirn.incr=subwrd result,4) 
if wind_dirn.incr=9.999e+20 
wind_dirn.incr="undefined" 
else 
'define wind_dirn.incr = math_nint(wind_dirn.incr)' 
endif 
* 

* 
*determine the resultant wind for three output times 
pi = 3.1415926 
d2r = pi/180 
r2d = 1/d2r 
fmt = '%-6.4f' 

wamv=cos(0.0174532*wdr)*w10 -----> Line 454 
wamu=sin(0.0174532*wdr)*w10

'd sum(wamu,t= 'y',t= 'y+2')' 
udirs=sublin(result,2) 
udir=subwrd(udirs,4)/3 

 The error message : 
 
DEFINE error: Name too long; missing '='
Non numeric args to numeric operation
Error occurred processing function arguments
      Error occurred on line 454
      In file E\KC\WORK\Adhoc_~1\Langkawi.gs
ga->
 


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


More information about the gradsusr mailing list