TVecByte.SetZero Method

function SetZero: TMtxVecInt;

Set all calling vector elements to zero.

Result: stored in self (calling object), returns self for chaining

Indexed: function SetZero(Index: Integer; Len: Integer): TMtxVecInt;

Set calling vector elements [Index..Index+Len-1] to zero.

#NameTypeDescription
1IndexIntegerstart index
2LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

An exception is raised if array borders are overrun/underrun.