I would use ...
procedure pVS(var)
begin
printVarSummary(var)
end
..sort of cumbersome, but that is the best one can do, i suppose.
maybe you should check out the python version of NCL, which may allow
some of the language constructs you want..
saji
* Dennis Shea <shea_at_ucar.edu> [2009-04-29 19:55:38 -0600]:
> Sorry ... no.
>
> Mark.Collier_at_csiro.au wrote:
> > Hi,
> > I'm wondering if aliases can be written in NCL?
> > For example the syntax might be:
> >
> > alias pVS=printVarSummary
> > pVS(variable1)
> >
> > my attempts to use character variables did not work.
> >
> > Many thanks,
> > Mark.
> >
> > CSIRO Marine and Atmospheric Research
> > Australia.
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-- Saji N. Hameed APEC Climate Center 1463 U-dong, Haeundae-gu, +82 51 745 3951 BUSAN 612-020, KOREA saji_at_apcc21.net Fax: +82-51-745-3999 _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Wed Apr 29 2009 - 19:56:50 MDT
This archive was generated by hypermail 2.2.0 : Thu Apr 30 2009 - 15:56:01 MDT