BTst64 Function
Returns the status of 1 bit in a number.
Syntax
BTst64 (number, bitNum)
Parameters
- number
- Specify the number for the bit test with an expression or numeric value.
- bitNum
- Specify the bit (integer from 0 to 63) to be tested.
Return Values
Returns the bit test results (integer 1 or 0) of the specified numeric value.
See Also
BClr Function, BClr64 Statement, BSet Function, BSet64 Function, BTst Function
BTst64 Function Example
Int64 flags
flags = BSet64(flags, 1)
If BTst64(flags, 1) = 1 Then
Print "Bit 1 is set"
EndIf