IBitArray.SetAll

Syntax

SetAll;

Description

The SetAll method sets each bit of bit array to True.

Example

Sub UserProc;
Var
    BitArr: IBitArray;
Begin
    BitArr := New BitArray.Create;
    BitArr.Length := 30;
    BitArr.SetAll;
End Sub UserProc;

After executing the example the BitArr bit array is created, all elements of the array are set to True.

See also:

IBitArray