global variables in procedures

From: <Mark.Collier_at_nyahnyahspammersnyahnyah>
Date: Fri, 31 Jul 2009 16:16:49 +1000

Hi,

is it possible to have global variables in procedures? Sometimes it is useful for reducing code amounts but my experiences so far suggest that non-locally defined variables are not available at the calling level. Of course could load ncl script with this sort of code but it is safer to be able to (generally) locally define variables, as exists in procedures.

Thanks,
Mark.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jul 31 2009 - 00:16:49 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 31 2009 - 14:51:03 MDT