Home / lang / bset 
BSet
Syntax
Value = BSet ( Number AS Integer , Bit AS Integer ) AS Integer

Returns Number with its Bitth bit set. The bit number of the least significant bit is 0.

Examples

PRINT BSet(13, 1)
<hr>15

PRINT BSet(15, 1)
<hr>15

See also

Bits Manipulation Functions  Logical Operators