RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EBitsError Class

EBitsError is the exception class for invalid attempts to access an array of boolean values.

Pascal
EBitsError = class(Exception);
C++
class EBitsError : public Exception;

EBitsError is raised when an application attempts to access a boolean array (an instance of the TBits class) using an index value that is too large or too small. This can occur when the value of the Index parameter of the Bits property is 

Less than zero. 

Equal to or greater than the Size property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!