Topic complex |
Array functions |
Function |
bitandnot() |
Short |
Intersection of a bit field with the complement of another |
Syntax |
BITANDNOT(VAR M1 : TBITS; VAR M2 : TBITS) : INTEGER |
Parameter |
M1 : TBITS[]
M2 : TBITS[] |
Return |
NBITS(M1) after operation (= Cardinality of M1) |
See also: |
|
Description |
M1 and M2 are understood as characteristical funktions of two (sub-)sets.
After execution of the function, M1 contains the characteristical function of the section of M1 with the complement of M2.
Important: Both arrays should be dimensioned equally, because
otherwise the result is valid only in the area of the smaller field.
|