From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Performs a bitwise And on value1 and value2.


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;