[Integer->BitNot] flips every bit in the base integer.
Returns the result without modifying the source integer.
Integer Variable->BitNot
Use the [Integer->BitNot] method. Every bit in the target integer will be flipped. In the following example the integer 1 becomes the integer -2.
Code
local(result = 1)
#result->BitNot
Result
-2
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