UNDIM
This command will delete the specified array from memory.
UNDIM ArrayName(0)
ArrayName(0
Value
Enter the appropriate value here.
This command does not return a value.
You must have previously created the array using the DIM command in order for UNDIM to succeed. Deleting unused arrays increases system performance. Remember to free any strings you used with the s$=FREE STRING$() command if you are using a custom typed array.
DIM array(10)
array(5)=123
UNDIM array()
DIM array(20)
array(15)=456
PRINT array(15)
WAIT KEY
CORE Commands Menu
Index