<div class="meta" robots="noindex">

</div>

Method

# BitwiseAnd

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2018r2. Please use `Bitwise.BitAnd<bitwise.bitand>` as a replacement.

</div>

## Description

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

``` xojo
Dim b As Integer = 15
Dim a As Integer = 7
Dim c As Integer = BitwiseAnd(a, b) ' c = 7
```

## Compatibility

All project types on all supported operating systems.

## See also

`Bitwise.BitAnd<bitwise.bitand>` function;
