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

Home » Public Forums » archive » Re: inconsistence in 5.4 -> 6.0
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: inconsistence in 5.4 -> 6.0 [message #36591 is a reply to message #36570] Tue, 07 October 2003 10:50 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Marc Schellens writes:

> try:
>
> in 5.4:
>
> IDL> cc=complex(0,1)
> IDL> if cc then print,'true' else print,'false'
> false
>
>
> in 6.0:
>
> IDL> cc=complex(0,1)
> IDL> if cc then print,'true' else print,'false'
> true
>
> potentially dangerous, isn't it?

Well, I don't know about "dangerous", but
it certainly is inconsistent with the
on-line help definition of "true" for
complex variables. What did the good folks
at RSI say about this when you reported it? :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: javascript variable in ionscript
Next Topic: Re: UNIQ and structure arrays

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

Current Time: Fri Oct 10 12:30:34 PDT 2025

Total time taken to generate the page: 0.07837 seconds