Skip to content

DynArrayClear

Clears a dynamic array.

Declaration

Source position: dynarrh.inc line 37

procedure DynArrayClear(var a: Pointer; typeInfo: Pointer);

Description

DynArrayClear clears the array (a) using its type info (typeInfo). It is equal to setting the length to zero.

See also

Name Description
InitializeArray Initialize managed-type elements in array.
FinalizeArray Finalize managed-type elements in array.
CopyArray Copy managed-type elements in array.
DynArraySize Return length of dynamic array.
DynArrayDim Return the number of dimensions in a dynamic array.
DynArrayBounds Return the bounds of the dynamic array.