BitwiseAnd

From Xojo Documentation


Method

Performs a bitwise And on value1 and value2.

Usage

result = BitwiseAnd(value1, value2)

Part Description
value1 Required. A UInt64 value.
value2 Required. A UInt64 value.
result Integer value.

Sample Code

Dim b As Integer = 15
Dim a As Integer = 7
Dim c As Integer = BitwiseAnd(a, b) // c = 7

See Also

Bitwise.BitAnd function;