Jump to content
Sign in to follow this  

Blast an existing array into nothingness

Recommended Posts


There are ways to do both. If you want to reset the entire contents of an array to nothing, just Dim it again, with either the same or different dimensions. If you want to completely destroy it, assign a single value to it without using subscripts, like "$array = 0".

EDIT: ReDim is for when you want to keep the original data. It doesn't delete anything unless the new dimensions are smaller than the old.

Edited by Sokko

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.