comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Dumb Dumb Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Dumb Dumb Question [message #13554 is a reply to message #13534] Wed, 18 November 1998 00:00 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
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
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to shade region of 2-D plot
Next Topic: Re: how do I do *that*?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 23:05:59 PDT 2025

Total time taken to generate the page: 0.07980 seconds