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

Home » Public Forums » archive » Re: Passing zero as a Parameter/ NOT KEYWORD_SET
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 zero as a Parameter/ NOT KEYWORD_SET [message #16057 is a reply to message #16040] Wed, 30 June 1999 00:00 Go to previous messageGo to previous message
philaldis is currently offline  philaldis
Messages: 32
Registered: March 1999
Member
I expect Grady didn't realise the can of worms he was opening.

I find that I tend to use :

Keyword_Set() for flags : See if the user wants an option on or off

N_Elements() for numeric values : Test to see if they have defined
it. If they have then test its validity. If anything fails then set
the default.

Arg_Present for returning : e.g. in a getProperty or setProperty
method see if the user wants a particular property returned.

This discussion shows, though, that while we often spend a lot of time
disussing really complex problems, it is still the very simple, yet
fundamental questions which provoke the most interest.

Cheers,
Phil Aldis
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Zero vector detection in IDL
Next Topic: Re: Extra space around widget windows....

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

Current Time: Fri Oct 10 05:37:24 PDT 2025

Total time taken to generate the page: 0.56092 seconds