Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
chihuahualand
- Junior Coder
- Posts: 35
- Joined: Thu Jan 12, 2006 9:20 pm
-
Contact:
Post
by chihuahualand » Thu Apr 05, 2007 9:32 pm
What is a good way to clear an array?
thanks
-
pgriffin
- Automation Wizard
- Posts: 460
- Joined: Wed Apr 06, 2005 5:56 pm
- Location: US and Europe
Post
by pgriffin » Fri Apr 06, 2007 3:01 am
if you have created a simple array then you could use
let>counter=0
Repeat>counter
let>counter=counter+1
let>var%counter%=
Until>counter=ArrayCount
you could nest another Repeat> for each level of the array if needed.