BChg

Value = BChg ( Number , Bit )

Returns Number with its Bitth bit inverted.


Example

PRINT BChg(15, 1)

13

PRINT BChg(13, 1)

15


See also

AND, Arithmetic operators, BClr, BSet, BTst, FALSE, NOT, OR, Shl, Shr, TRUE, XOR


Previous: Atnh / ATanh Next: BClr