配列の要素を消去します。
構文
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.