problem with an array

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
james123
Newbie
Posts: 6
Joined: Sun Dec 31, 2006 6:57 pm

problem with an array

Post by james123 » Tue Jan 02, 2007 12:54 pm

lets say i have an array with diff info like:
let>a[1]=abc
let>a[2]=add
let>a[3]=arr
let>a[4]=abb


how do i get to show the info if i run a loop
like:

let>i=0

label>start

msg>%a%
let>i=i+1

goto>start


this wont show me the contect of a. how am i supposed to write it?

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Tue Jan 02, 2007 3:37 pm

let>a[1]=abc
let>a[2]=add
let>a[3]=arr
let>a[4]=abb

let>i=0

label>start
let>i=i+1
if>i>4,finish
MessageModal>a[%i%]
goto>start
label>finish

james123
Newbie
Posts: 6
Joined: Sun Dec 31, 2006 6:57 pm

Post by james123 » Tue Jan 02, 2007 4:55 pm

thanks

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