I have read the following information in NCL Reference Manual
http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclExpressions.shtml#Functions
_______________________________________________________________
One very important thing to note is that all parameters are *passed by
reference* in NCL, meaning a change of a value in a variable within the
function changes the value of the parameter.
However, if a parameter is coerced before the function is called, changes
within the function *will not* be reflected in the parameter, because
coercion can only be applied in a single direction. A warning message is
given in this instance.
________________________________________________________________
Can anybody give details about the statement *"....* if a *parameter is
coerced....."*
*Thanking you in advance.*
-- *Gibies George, CSIR-RF, Climate and Global Modelling Division, Indian Institute of Tropical Meteorology, Dr. Homi Bhabha Road, NCL (P. O.), Pashan, Pune 411008, India.* *http://sites.google.com/site/gibiesge/* Think about the environment. Save paper; Save Trees. Please don't print this e-mail unless it is necessary.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 23 05:32:14 2011
This archive was generated by hypermail 2.1.8 : Wed Feb 23 2011 - 16:47:57 MST