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

Home » Public Forums » archive » Re: Bit interrogation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Bit interrogation [message #11821] Fri, 22 May 1998 00:00
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Peter Dovey wrote:
> Are there any routines for interrogating bit values within 2 byte
> words of a header?

Start the online help by typing ? at the IDL prompt.

Look under 'Alphabetical List of Routines' for ISHFT.

Then back at the main level, look under 'Language Features Quick
Reference' for 'Operators', then 'Boolean Operators'.

Using ISHFT and the Boolean operators, you can do the usual shift and
mask operations to check bits in a byte, integer, or long integer.

---
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
1225 W. Dayton St., Madison WI 53706, USA
Phone (608) 265-5358, Fax (608) 262-5974
http://cimss.ssec.wisc.edu/~gumley
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Emacs mode 1.41
Next Topic: Bit interrogation

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

Current Time: Thu Oct 09 03:27:47 PDT 2025

Total time taken to generate the page: 0.15886 seconds