IBitArray.SetAll

Syntax

SetAll;

Description

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

Example

Sub Main;

Var

BitArr: IBitArray;

Begin

BitArr:=New BitArray.Create;

BitArr.Length:=30;

BitArr.SetAll;

End Sub Main;

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

See also:

IBitArray