Lasso Soft Inc. > Home

[Integer->BitXOr]

[Integer->BitXOr] performs a bitwise Exclusive-Or (e.g. XOR)operation between each bit in the base integer and the integer parameter.

  • Syntax
  • Parameters
[Integer Variable->(BitXOr: Integer Value)]
Required Parameters
Integer Variable The integer value which should be operated upon.
Integer Value The value of the integer which should be combined to the base integer using a bitwise xor operation.
Examples

To combine two integers using a bitwise XOR operation:

Use the [Integer->BitXOr] tag. The following example shows the result of performing a bitwise XOR operation on 14 (1110) and 13 (1101), resulting in 3 (0011).

[Variable: 'Result'=14]
[($Result)->(BitXOr: 13)]
[Variable: 'Result']
Result:
3
Tag Link [Integer->BitXOr] Category Math
Type Member Data Source Any
Support Preferred Version 5.0
Output Type None (Modifies in place) Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft