Re: what does this mean?

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 25 Oct 2006 10:23:16 -0600

Hi Larry,

It means that you are trying to use an NCL function (which returns a
value), but using
it as a procedure instead.

For example, if you did:

x = (/1,2,3/)
avg(x)

you would get this message because 'avg' is function and wants to
return a value:

y = avg(x)

This error message isn't at all useful. At least <identifier> should
have the name of the function
in it! I'll see if we can get this fixed.

--Mary

On Oct 25, 2006, at 10:17 AM, Larry McDaniel wrote:

> Hi
>
> does anybody know what this means?
> fatal:syntax error: <identifier> IS A FUNCTION NOT A PROCEDURE
>
> thanks
> Larry
>
> --
> Larry R. McDaniel mcdaniel_at_ucar.edu Phone: 303 497 8128
> Institute for the Study of Society and Environment
> NCAR P.O. Box 3000 Boulder, CO 80307
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Oct 25 2006 - 10:23:16 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 25 2006 - 16:39:38 MDT