Free Dinamic array

  • Thread starter Thread starter Oded Kovach
  • Start date Start date
O

Oded Kovach

Hello there

I have a dinamic array that grows according to data using Redim Preserve

How can i free it on the the end of the function or where i need?
 
Oded Kovach said:
Hello there

I have a dinamic array that grows according to data using Redim Preserve

How can i free it on the the end of the function or where i need?

Erase YourArray

Ciao
Bruno
 
If it is a local variable, it will be free'd when the
function exits. If it is a global or static variable,
you can redim it again to a smaller size
 
Back
Top