SetBit Arithmetics 5.1 OC int int old_value Old value of the bit masc int bit_number The bit to change bool bit The new value of the bit Returns the new bit mask with the bit at position bit_number replaced by bit. GetBit ToggleBit Newton2009-07