Btst8 Function

Purpose

Tests the bit status in a 64-bit integer expression.

Syntax

Bool = Btst8(i64,n)

i64:int64 exp
n:iexp

Description

Btst8(m, n) returns -1(true) when the n-th bit in the 64-bit integer expression m is set, and 0 (false) if it's not.

Example

Local i As Large = 1000 // 10000 => 1111101000

Print Btst8(i, 8)       // Prints True

See Also

Bclr8(), Bset8(), Bchg8()

{Created by Sjouke Hamstra; Last updated: 24/09/2014 by James Gaite}