BTst

Boolean = BTst ( Number , Bit )

Returns if the Bitth bit of Number is set.


Example

PRINT BTst(15, 1)

TRUE

PRINT BTst(13, 1)

False


See also

AND, BChg, BClr, BSet, NOT, OR, Rol, Ror, Shl, Shr, XOR


Previous: BSet Next: CASE