Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clean Out Array 3

Status
Not open for further replies.

UnsolvedCoding

Technical User
Jul 20, 2011
424
US
Hey all -

I have an array that is resizes itself and I want to reuse the array. There will be varying amounts of information being put into the array and I need to be sure that information cleans out so each time the array is re-used it starts over with no carry over from previous uses. Carry over would screw up my email message.

Example -

Use one holds the a b c d e f

Use two would use a b c

Use three would be a b c d e


How can I clear out all the old array information to re-use the array?
 
If I remember correctly...check out the erase command...

good luck

Be Alert, America needs more lerts
 
The Erase function wasn't taking and it took some tedious testing but the issue has been resolved. For some reason the cell count wasn't advancing as it should have which left one item in the array after the Erase.

Don't know why but its not happening now.

Thanks guys.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top