= (BitSet)

Compares two bitsets.

Arguments

bitset0
and
bitset1
are the BitSets to compare.

Return values

condition
is TRUE if the bitsets are equal, FALSE otherwise.

Complexity

O(size)

Example

"sl/bitSet" useFile a: (1 3 5) 8 makeBitSet; b: (1 3 5) 10 makeBitSet; c: (1 5) 10 makeBitSet; TRUE 3 c ! a b = print LF print b c = print LF print a c = print
Output:
FALSE TRUE FALSE