Clear removes all items from the array.
procedure Clear;
__fastcall Clear();
Call Clear to empty the array and free all associated memory. Clear does the same thing as setting both the Count and Capacity properties to 0.
Capacity
Count