SCULIB_BITTEST
Test whether a bit is on
Description:
Tests whether specified bit is turned on
or not. Returns TRUE if it is on, false otherwise.
Invocation
ISON = SCULIB_BITTEST( VAL, BIT )
Arguments
VAL = BYTE (Given)
The byte to be tested
BIT = INT (Given)
The bit to be tested
Returned Value
SCULIB_BITTEST = LOGICAL
True if specified bit is turned on.
Copyright
Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights
Reserved.