How do you clear, erase, delete, deassign an array?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
chihuahualand
Junior Coder
Posts: 35
Joined: Thu Jan 12, 2006 9:20 pm
Contact:

How do you clear, erase, delete, deassign an array?

Post by chihuahualand » Thu Apr 05, 2007 9:32 pm

What is a good way to clear an array?

thanks

User avatar
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.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts