BClr Function
Clears one bit in a number and returns the new value
Syntax
BClr (number, bitNum)
Parameters
- number
- Specify the numeric value to clear the bit by an expression or numeric value.
- bitNum
- Specify the bit (integer from 0 to 31) to be cleared by an expression or numeric value.
Return Values
Returns the new value of the specified numeric value (integer).
See Also
BClr64 Statement, BSet Function, BSet64 Function, BTst Function, BTst64 Function
BClr Function Example
flags = BClr(flags, 1)