how to do bitwise operation in IDL??? [message #9610] |
Thu, 24 July 1997 00:00 |
jyli
Messages: 21 Registered: November 1995
|
Junior Member |
|
|
Hi,
I need to read and set a seris of image processing flags which are
packed into byte size variables. Except the ISHIFT, I could not find
any other bitwise operators in IDL language.
OK, I can always call C or FORTRAN routines from IDL to accomplish this
task. But, is there a simplier way to read set bits in IDL ? After all,
IDL is built on C, isn't it?
Thanks
--
============================================================ ============
Jason Y. Li | Tel : (301) 286-1029
Code 913 | Fax : (301) 286-1759
NASA Goddard Space Flight Center | www : http://climate.gsfc.nasa.gov
Greenbelt, MD 20771, USA | email: jyli@climate.gsfc.nasa.gov
============================================================ ============
Beauty of style, harmony, grace and good rhythm depend on simplicity.
|
|
|