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

TBits.Equals

Determines whether the bits of 2 arrays are equal.

Declaration

Source position: classesh.inc line 279

public function TBits.Equals(

  BitSet: TBits

):Boolean;

Description

equalsreturns Trueif all the bits in BitSetare the same as the ones in the current BitSet; if not, Falseis returned.

If the sizes of the two BitSets are different, the arrays are still reported equal when all the bits in the larger set, which are not present in the smaller set, are zero.

Errors

None.

See also

ClearAll

  

Clears all bits in the array.

andBits

  

Performs an andoperation on the bits.

OrBits

  

Performs an oroperation on the bits.

XOrBits

  

Performs a xoroperation on the bits.