[Integer->BitSet] sets the bit specified in the integer parameter. The bit index should be between 1 and 64.
[Integer Variable->(BitSet: Bit Index)]
Use the [Integer->BitSet] tag. The following example shows the integer 7 (0111) having its upper bit set leaving 15 (1111).
[Variable: 'Result'=7]
[($Result)->(BitSet: 4)]
[Variable: 'Result']
15
Tag Link | [Integer->BitSet] | 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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft