remove an array an revert it's size to 0

 

Hi,

A quick question on how to remove an array and revert it's size to 0. To do so I use ArrayRemove and the ArrayFree function. Is this correct?

ArrayRemove(SymbolArray, 0, WHOLE_ARRAY);
ArrayFree(SymbolArray);
 

You only need to use ArrayFree"It frees up a buffer of any dynamic array and sets the size of the zero dimension to 0."

You don't need to use ArrayRemove.

 
Ok, thanks fernando