From Xojo Documentation

Revision as of 19:05, 3 September 2020 by THill (talk | contribs) (Text replacement - "{{Deprecated" to "{{DeprecatedItem")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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;