DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


MakeListOfBits

Declaration:TBitFld.MakeListOfBits (var BitList: TIntArray; State: boolean);
The method MakeListOfBits fills the array BitList with the indices of all bits showing the state defined by the parameter State. The length of the array is adjusted to the number of found bits.

Hint: Be careful not to call MakeListOfBits when a large bit array contains mostly bits of the state State. In this case, the memory requirements of the resulting list of bits will be higher by a factor 32 than the requirements for the bit array.