清除数组的元素。
语法
Erase arrayName
参数:
arrayName 参数是要清除的数组变量的名称。
注释
Erase 语句可清除数组的值。
以下示例说明了 Erase 语句的用法。
示例 1:
Dim NumArray NumArray = Array(1,2,3) Erase NumArray ' Each element value is erased.
Scripting on this page enhances content navigation, but does not change the content in any way.