DECLARE FUNCTION DQBreadBit (BYVAL Value, BYVAL Bit)
Value - INTEGER value to read bit status from
Bit - Bit number, ranging 0-15, to retrieve status of
True if specified bit is set, otherwise false
This function returns true if a specified bit of a specified integer value is set. It can be useful to store boolean variables into an unique INTEGER one, as QB does not support booleans. An integer can contain up to 16 boolean variables!
See DQBsetBit, DQBresetBit and DQBtoggleBit