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 #27050 is a reply to message #26552] Fri, 05 October 2001 12:03 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
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.
Cheers,
Pavel
[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: Sun Oct 12 04:46:19 PDT 2025

Total time taken to generate the page: 1.44173 seconds