Jump to content

Blast an existing array into nothingness


 Share

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...