Home / lang / btst 
BTst
Syntax
Result = BTst ( Number AS Integer , Bit AS Integer ) AS Boolean

Returns TRUE if Bitth bit of the Number is set. The bit number of the least significant bit is 0.

Example
PRINT BTst(15, 1)

TRUE

Example
PRINT BClr(13, 1)

FALSE


See also
Bits Manipulation Functions  Logical Operators