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

Home » Public Forums » archive » Re: Optional parameters
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: Optional parameters [message #38198 is a reply to message #38196] Tue, 24 February 2004 08:31 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
JD Smith writes:

> I would have put it more simply: all parameters, keyword or
> positional, are optional in IDL. How you choose to treat missing
> parameters defines the behavior of a routine. See David's linked
> article for more. I think there are enough useful example (even among
> RSI's own offerings) which violate this general rule of thumb that it
> shouldn't be considered a rule.

I wasn't really going to admit this, but I have even
violated the "no required keywords" rule on occasion.
(Although not in anything I am offering to the public.)
The temptation is really too great when you are about
10 levels up in a superclass and you *really* need something
like keyword inheritance to work! :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: pointer and structure stuff ...
Next Topic: Re: Something similar to a "Widget_Container" ?

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

Current Time: Sat Oct 11 15:36:28 PDT 2025

Total time taken to generate the page: 1.76015 seconds