[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MAKE_ARRAY question
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()
It should return 1, and it does:
IDL> print, keyword_set()