Description of TBitList :
Storing large numbers of boolean values in a file can be wasteful. A better approach is to store booleans as a bitfield - 8 values per byte as opposed to just one value using native Delphi booleans. TBitList shows how this is done. The code is pure Delphi - easy to understand and to modify.