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, BClr64, BSet, BSet64, BTst

BTst64 Function Example

If BTst64(flags, 1) Then
    Print "Bit 1 is set"
EndIf