PDA

View Full Version : how to clear/deallocate arrays


kirk
06-26-2003, 12:27 PM
first post - probably an easy one -
I need to figure out how to clear an array in order to free up memory...trying to ensure that all arrays/objects/etc are killed when needed <grin>...

thanks,
Kirk

Iceplug
06-26-2003, 12:29 PM
Well, arrays are automatically erased, but you can erase them with the Erase command in VB. Check out your copy of MSDN. :)

kirk
06-26-2003, 12:32 PM
Thanks! I had searched on 'deallocate', 'delete', 'remove', etc but not ERASE - DOH!