Array or Not Array

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Array or Not Array

Post by armsys » Sat Dec 21, 2002 3:44 am

Does Macro Scheduler script support array?


Let>Str[1]=Hello
Let>Str[2]=World
Let>K=0
Repeat>k
Let>k=k+1
message>Str[%k%]
wait>5
Until>k,2

The above code works fine. Does it imply that Macro Scheduler support arrays indeed? Is it just coincidental? The %k% substitution won't prove Macro Scheduler's support of arrays. Is Str[1] just treated like any other variable names such as K?

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Sat Dec 21, 2002 11:01 am

Hi,

Yes, this is the correct way to declare arrays.
MJT Net Support
[email protected]

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