RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseArray.Clear Method

Clear removes all items from the array.

Pascal
procedure Clear;
C++
__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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!