next up previous 623
Next: SCULIB_BITOR - Returns the bitwise OR of two bytes
Up: Library APIs
Previous: SCULIB_BITON - turn on a bit


SCULIB_BITOFF - Turn off a bit

Description:
Turns off a bit in a byte

Invocation:
NEWBYTE = SCULIB_BITOFF ( VAL, BIT )

Arguments:

VAL = BYTE (Given)
The byte to be changed
BIT = INT (Given)
The bit to be turned off

Returned Value:

SCULIB_BITOFF = BYTE
Modified byte.

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


next up previous 623
Next: SCULIB_BITOR - Returns the bitwise OR of two bytes
Up: Library APIs
Previous: SCULIB_BITON - turn on a bit

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