PDA

View Full Version : how to clear/deallocate arrays


kirk
06-26-2003, 11:27 AM
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, 11:29 AM
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, 11:32 AM
Thanks! I had searched on 'deallocate', 'delete', 'remove', etc but not ERASE - DOH!