The bitclear() function takes a copy of the value supplied, clears the specified bit and returns the value.
bitclear(value, pos)
• value – A tiny integer, integer or long integer value for which a bit will be cleared.
• pos – The position of the bit to be cleared. The value 1 indicates the least-significant bit (LSB). The position can be up to 8 for tiny integers, 16 for integers, and 32 for long integers.
The value supplied with the specified bit cleared.