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

Home » Public Forums » archive » Re: assignment inside boolean expression
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: assignment inside boolean expression [message #20604 is a reply to message #20593] Tue, 11 July 2000 00:00 Go to previous messageGo to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
"Liam E.Gumley" wrote:

>
> Recall that in IDL, integers with odd non-zero values are Boolean
> 'True'. Beware of floats and doubles though, where any non-zero value is
> Boolean 'True'.
>

Dang!

I just spent an hour figuring out an efficient way of determining if an
integer is odd!

I have an IDL function ISODD() for sale... very cheap. No reasonable
offer refused.

Ben


--
Ben Tupper

Bigelow Laboratory for Ocean Science
tupper@seadas.bigelow.org

pemaquidriver@tidewater.net
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Standalone IDL applications?
Next Topic: Re: Writing GIF files in IDL ATTN: Paul van Delst, Liam Gumley

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

Current Time: Sun Oct 12 04:59:00 PDT 2025

Total time taken to generate the page: 1.36279 seconds