bitclear()

Examples


The bitclear() function takes a copy of the value supplied, clears the specified bit and returns the value.

Syntax

bitclear(value, pos)

Parameters

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.

[spacer]

Return value

The value supplied with the specified bit cleared.


Documentation Feedback