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

Home » Public Forums » archive » CASE statement
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: CASE statement [message #27048 is a reply to message #26552] Fri, 05 October 2001 14:08 Go to previous messageGo to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
"Pavel A. Romashkin" wrote:
>
> Timm Weitkamp wrote:
>>
>> It actually also has some counterintuitive features. This one, for
>> example:
>>
>> IDL> PRINT, KEYWORD_SET([0])
>> 1
>
> Correct me if I am wrong, but the PURPOSE of KEYWORD_SET is to check if
> a KEYWORD is SET. Settable keywords are those that you either set or
> don't, either /K_SET or K_SET=0. As such, they should not be set to
> arrays. As far as I can see, Keyword_Set is a convenience function. For
> value passing keywords, N_elements should be used.
> So, it looks to me that the name of this function means exactly what it
> is designed for.

Excellent point.

paulv

--
Paul van Delst Religious and cultural
CIMSS @ NOAA/NCEP purity is a fundamentalist
Ph: (301)763-8000 x7274 fantasy
Fax:(301)763-8545 V.S.Naipaul
[Message index]
 
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: IDL LINUX support question
Next Topic: interpol

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

Current Time: Sat Oct 11 06:26:47 PDT 2025

Total time taken to generate the page: 0.39903 seconds