[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TBits.OrBits

Performs an or operation on the bits.

## Declaration

`public procedure TBits.OrBits(`
`BitSet: TBits`
`);`

## Description

andbits performs an or operation on the bits in the array with the bits of array BitSet.

If BitSet contains less bits than the current array, then all bits which have no counterpart in BitSet are left untouched.

If the current array contains less bits than BitSet then it is grown to the size of BitSet before the or operation is performed.

## Errors

None.

## See also

TBits.clearall |  | Clears all bits in the array.
TBits.andbits |  | Performs an and operation on the bits.
TBits.xorbits |  | Performs a xor operation on the bits.
TBits.notbits |  | Performs a not operation on the bits.