[Integer->BitXOr] performs a bitwise Exclusive-Or (e.g. XOR) operation between each bit in the base integer and the integer parameter.
Integer Variable->BitXOr(Integer Value)
Use the [Integer->BitXOr] method. The following example shows the result of performing a bitwise XOR operation on 14 (1110) and 13 (1101), resulting in 3 (0011).
Code
local(result = 14)
#result->BitXOr(13)
Result
3
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