UNDIM This command will delete the specified array from memory.
Syntax
    UNDIM ArrayName(0)
Parameters
    ArrayName(0
Value Enter the appropriate value here.
Returns
This command does not return a value.
Description
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.
Example Code
    DIM array(10)

    array(5)=123

    UNDIM array()

    DIM array(20)

    array(15)=456

    PRINT array(15)

    WAIT KEY
See also
CORE Commands Menu Index