next up previous 623
Next: SCULIB_BITTEST - Test whether a bit is on
Up: Library APIs
Previous: SCULIB_BITOR - Returns the bitwise OR of two bytes


SCULIB_BITAND - Calculate the bitwise AND of two bytes

Description:
Returns the bitwise AND

Invocation:
LOGAND = SCULIB_BITAND( VAL1, VAL2 )

Arguments:

VAL1 = BYTE (Given)
First byte
VAL2 = BYTE (Given)
Second byte

Returned Value:

SCULIB_BITAND = BYTE
AND of bytes.

Copyright
Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.


next up previous 623
Next: SCULIB_BITTEST - Test whether a bit is on
Up: Library APIs
Previous: SCULIB_BITOR - Returns the bitwise OR of two bytes

SURF Programming Interface
Starlink System Note 72
Tim Jenness, John F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
10 July 2000
E-mail:ussc@star.rl.ac.uk

Copyright © 2008 Science and Technology Facilities Council