SCULIB_BITON
turn on a bit
Description:
Turns on a bit in a byte.
Invocation
NEWBYTE =
SCULIB_BITON( VAL, BIT )
Arguments
VAL = BYTE (Given)
The byte to be changed
BIT = INT
(Given)
The bit to be turned on
Returned Value
SCULIB_BITON = BYTE
Modified byte.
Copyright
Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council.
All Rights Reserved.