Collabora Office 21.06 帮助
擦除固定大小数组的数组元素的内容,并释放可变大小数组所使用的内存。
Erase array1 [, array2 [,...]]
array list - A comma delimited list of arrays to be erased.
Sub Erase_Example
a = Array(1,2,3) : b= Array("z","y","x") : c=Array(a,b)
Erase a, c(Ubound(c)) ' b and c(0) are unchanged
Erase b, c(0) ' everything gets cleared
End Sub