! (BitSet)
Sets or resets value of a bitset element by index.
Arguments
If
condition
is TRUE, set the element, otherwise, reset it.index
is an integer number, zero-based. If the index is out of range, an error will occur.bitset
is the bitset to an element of.
Return values
None
Complexity
Constant
Example
Output:
FALSE
TRUE