Lasso Soft Inc. > Home

[Integer->BitNot]

[Integer->BitNot] flips every bit in the base integer.

  • Syntax
  • Parameters
[Integer Variable->(BitNot)]
Required Parameters
Integer Variable The integer value which should be operated upon.
Examples

To perform the bitwise NOT operation on an integer:

Use the [Integer->BitNot] tag. Every bit in the target integer will be flipped. In the following example the integer 1 becomes the integer -2.

[Variable: 'Result'=1]
[($Result)->(BitNot)]
[Variable: 'Result']
Result:
-2
Tag Link [Integer->BitNot] Category Math
Type Member Data Source Any
Support Preferred Version 5.0
Output Type None (Modifies in place) Security None
Implementation LCAPI Sets 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