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

Home » Public Forums » archive » Passing optional parameters through a wrapper routine
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: Passing optional parameters through a wrapper routine [message #18887 is a reply to message #18840] Fri, 11 February 2000 00:00 Go to previous messageGo to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
David Fanning wrote:
>
> J.D. Smith (jdsmith@astro.cornell.edu) writes:
>
>> Another side-benefit of arg_present() is that you can use it to annoy David
>> Fanning by forcing him to contradict bold statements such as "it is NOT possible
>> to reliably determine if a keyword was used in a call to your program", when in
>> fact the test:
>>
>> n_elements(k) ne 0 OR arg_present(k)
>>
>> will tell you precisely this ;).
>
> Actually, I've toned the rhetoric down in my IDL
> courses, even if I haven't gotten around to updating
> my web pages.
>
> I now say "It's NOT possible to reliably determine if
> a keyword was used in a call, without resorting to a
> bunch of nonsense I can never remember and you
> shouldn't have to worry about anyway if you do it
> the way I'm telling you." :-)
>

See, I told you it annoys him :)

JD

--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
[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
Previous Topic: Superscripts in IDL [x-y]title
Next Topic: superscripts

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

Current Time: Sat Oct 11 00:36:25 PDT 2025

Total time taken to generate the page: 0.24067 seconds