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

Home » Public Forums » archive » Re: Parameters for Dummies
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: Parameters for Dummies [message #30981 is a reply to message #30979] Fri, 31 May 2002 09:22 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sean Raffuse (sean@me.wustl.edu) writes:

> is there any time when I should really be using a positional parameter
> instead of a keyword parameter? The more I do, the less I see why a
> positional parameter would ever be better. Yet, I'm sure they're there for
> a reason. Please enlighten me, oh most wise discussion group.

Here is a loose rule of thumb: Positional parameters are
for *required* parameters. Keyword parameters are for
everything else.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 5.5 "% Temporary variables" messages
Next Topic: bwfill in IDL?

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

Current Time: Mon Dec 01 12:05:31 PST 2025

Total time taken to generate the page: 0.88376 seconds