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

Home » Public Forums » archive » Re: MAKE_ARRAY question
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: MAKE_ARRAY question [message #24725 is a reply to message #24724] Fri, 13 April 2001 11:52 Go to previous messageGo to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Craig Markwardt wrote:
> For KEYWORD_SET, I think "truth" is defined as non-zero.

From the IDL 5.3 documentation:
"The KEYWORD_SET function returns a nonzero value if Expression is
defined and nonzero or an array, otherwise zero is returned."

> Ooops. What do you think this one should report? Heh.
>
> print, keyword_set([0])

It should return 1, and it does:

IDL> print, keyword_set([0])
1

Cheers,
Liam.
http://cimss.ssec.wic.edu/~gumley/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Postscript font usage
Next Topic: Re: FOR statement

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

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

Total time taken to generate the page: 0.47988 seconds