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

Home » Public Forums » archive » Re: bitwise operators in IDL?
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: bitwise operators in IDL? [message #25077] Fri, 18 May 2001 15:51 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
thompson@orpheus.nascom.nasa.gov (William Thompson) writes:

> "Rick Towler" <rtowler@u.washington.edu> writes:
>
>> Is there a built in function in IDL for the c++ bitwise operator "&" or is
>> this going to be the first DLM i write?
>
>> Rick Towler
>
>
> AND, OR, and NOT are bitwise operators.
>
> William Thompson

Which leads to some interesting confusion sometimes when they are used
as logical operators. Consider that:

255 AND 'fe'xl is false, and
NOT 2 is true

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: END statement
Next Topic: Re: END statement

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

Current Time: Fri Oct 10 21:10:34 PDT 2025

Total time taken to generate the page: 0.08203 seconds