[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dumb Dumb Question
- Subject: Re: Dumb Dumb Question
- From: Martin Schultz <mgs(at)io.harvard.edu>
- Date: Thu, 19 Nov 1998 10:10:22 -0500
- Newsgroups: comp.lang.idl-pvwave
- Organization: Dept. for Engineering&Applied Sciences,Harvard University
- References: <72srpf$sre$3@ncar.ucar.edu> <365301F5.76EACDF4@ssec.wisc.edu> <onbtm424bi.fsf@cow.physics.wisc.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:12873
Craig Markwardt wrote:
> Liam Gumley <Liam.Gumley@ssec.wisc.edu> writes:
> >
> >
> > "When calling a routine with a keyword parameter, you can abbreviate the
> > keyword to its shortest, unambiguous abbrevation".
> >
> > Cheers,
> > Liam.
> >
>
> I have been bitten by this alot. I have often wanted to have keywords
> like TIME, TIMEBIN, TIMECOL in the same procedure. For some reason
> it's perfectly legal to compile such a procedure, but I can never use
> the "TIME" keyword because it's ambiguous.
>
> I would much prefer that the IDL byte compiler would issue a *warning*
> when an ambiguity like that appears. I think that when a procedure is
> called with "TIME=xxx", and that exact keyword exists, then there
> should be no ambiguity.
>
> Craig
>
> --
> --------------------------------------------------------------------------
> Craig B. Markwardt, Ph.D. EMAIL: craigmnet@astrog.physics.wisc.edu
> Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
> --------------------------------------------------------------------------
I fully agree! I always run into this problem when I try to specify a PS
keyword to turn postscript output on and a PSFILENAME keyword to direct it
into a specific file....
Martin.
--
-------------------------------------------------------------------
Dr. Martin Schultz
Department for Engineering&Applied Sciences, Harvard University
109 Pierce Hall, 29 Oxford St., Cambridge, MA-02138, USA
phone: (617)-496-8318
fax : (617)-495-4551
e-mail: mgs@io.harvard.edu
Internet-homepage: http://www-as.harvard.edu/people/staff/mgs/
-------------------------------------------------------------------