WriteBit

writeBit writes the value of the logical argument to the specified position of the unsigned discrete argument.

Methods

Arguments

Return Value

writeBit

bitArray::unsigned discrete

unsigned discrete

aBool::logical

position::unsigned discrete

On activation of method

WriteBit

For aBool = FALSE, the argument is returned with a zero-bit at position position, for aBool = TRUE the argument is returned with a one-bit at position position.