[Integer->BitTest] returns True if the bit specified in the integer parameter is 1 or False otherwise. The bit index should be between 1 and 64.
Integer Variable->BitTest(Bit Index)
Use the [Integer->BitTest] method. The following example shows a test of bit 3 on the integer 7 (0111) which returns True.
local(result = 7) #result->BitTest(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