The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Size


Unit:SDL_dstruct
Class:TBitFld
Declaration:property Size: longint;

The property Size determines the size of the bit field. Note that Size is one less that the actual number of available bits since the index of the bits starts with 0 (0 to Size bits are available). If Size is assigned an invalid value, no action at all is taken. Size may take values between 1 and MaxLongint.

Hint: Note that during resizing a bit field, additional memory is temporarily allocated. This may result in memory overflow conditions if very large bit fields are to be managed. The temporary memory requirements can be estimated by the following rule:

(size of existing bit field + new size of bit field)/8.



Last Update: 2012-Oct-20