Lasso Soft Inc. > Home

[Integer->BitOr]

[Integer->BitOr] performs a bitwise Or operation between each bit in the base integer and the integer parameter.

  • Syntax
  • Parameters
[Integer Variable->(BitOr: 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 OR operation.
Examples

To combine two integers using a bitwise OR operation:

Use the [Integer->BitOr] tag. The following example shows the result of performing a bitwise OR operation on 14 (1110) and 13 (1101), resulting in 15 (1111).

[Variable: 'Result'=14]
[($Result)->(BitOr: 13)]
[Variable: 'Result']
Result:
15
Tag Link [Integer->BitOr] 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