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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quickest Way - Clearing An Array 2

Status
Not open for further replies.

eveCalypso

Programmer
Apr 29, 2003
134
GB
Good Day All,
This even seems like a silly question to me, but I don't know the answer.
What would be the quickest way to clear/reset a
two-dimensional array? (or any array for that matter)
Please tell me there is a one-line solution :)

Thank you in advance!
EvE
 
eveCalypso,

The erase keyword is probably what you need, and is used in the following way.


Erase Yourarrayname


If you need any further info look at Erase in the help files, which goes into more detail.

HTH

Matt
[rockband]
 
Fabulous Mark,
I forgot about that - been a while since I used arrays!
Bizarre that "Help" did not bring that up.

Have a star :)
EvE
 
No problem,

Mark says thanks for the star.... lol



Matt
[rockband]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top