RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBits Class

TBits stores an array of Boolean values.

Pascal
TBits = class;
C++
class TBits;

Classes

Use TBits to store and access an indefinite number of boolean values. TBits can store as many of boolean values as can fit in available memory, automatically expanding its storage space as needed. If the number of boolean values is limited to 32, the same functionality can be achieved using a 32-bit integer with the bitwise AND (Delphi) or & (C++) and OR (Delphi) or | (C++) operators. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!