[Integer->BitClear] clears the bit specified in the integer parameter. The bit index should be between 1 and 64.
Returns the result leaving the left side unmodified.
Integer Variable->BitClear(Bit Index)
Use the [Integer->BitClear] method. The following example shows the integer 7 (0111) having its lower bit cleared leaving 6 (0110).
Code
local(result = 7)
#result->BitClear(1)
Result
6
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments