BChg

Value = BChg ( Number , Bit )

Returns Number with its Bitth bit inverted.

Example :

PRINT BChg(15, 1)
=> 13

PRINT BChg(13, 1)
=> 15


Referenced by :