udf question
Mary Jo Nath
Mary-Jo.Nath at NOAA.GOV
Wed Apr 25 10:38:44 EDT 2007
Dan,
I think the function name is too long.
From http://grads.iges.org/grads/gadoc/udf.html :
(this is under the section "The user defined function table")
Field 1: The name of the function, 1-8 characters, beginning with a
letter. The name should be in lower case. Note that function names
are not case dependent, and that GrADS converts all expression to
lower case before evaluation.
MJ
Dan Schwarzkopf wrote:
> given that my UDF executable is called 'ttestudf_linux' in the udf
> function table, with 4 arguments, and
> I write 'd ttestudf_linux('var1','var2','var3','var4')'
> and get a message
> Syntax Error: Invalid Operand
> 'ttestudf_linux' not a variable or function
> Error ocurred at column 1
> DISPLAY error: Invalid expression
> Expression = ttestudf_linux(100,annc1,100,annf161)
>
> what am I doing wrong?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20070425/172f4bf5/attachment.html
More information about the gradsusr
mailing list