optional argument for function / procedure

From: Brücher Tim <tim.bruecher_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 04 2013 - 05:34:30 MST

Dear all,

is there a way to pass one (or several) optional argument(s) to a function or procedure like in e.g. f90?

If I look at "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl" there are functions waiting for an option, but the opts-argument has to be given all the time the function / subroutine is called, so it is not really optional.

Thanks for your help,

Tim

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 4 05:34:43 2013

This archive was generated by hypermail 2.1.8 : Thu Mar 07 2013 - 08:55:58 MST