Bclr8 Function

Purpose

Clears one bit in a 64-bit integer expression.

Syntax

i64 = Bclr8( m, n)( function)

Bclr8 i64var, n( command)

m : i64var

n : iexp

Description

Bclr8(m, n) clears the nth bit of a 64-bit integer m and returns a 64-bit value.

Bclr8 i64var,n clears the nth bit of a 64-bit variable.

Example

OpenW # 1

Dim i64 As Large = 11                     //  11 => 1011

i64 = Bclr8(i64, 0) : Print Bin$(i64, 4// Prints 1010

Remarks

Although listed in the original help file as a command - i.e. Bclr8 v64, n - it seems never to have been implemented as such.

See Also

Bset8, Btst8, Bchg8

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