Sign in to follow this  
Followers 0
slightly_abnormal

Array questionn

2 posts in this topic

How do I get the messagebox to display all words from $1[1] to $1[5]?

Dim $1[6]
$1[1]="Hi"
$1[2]="Yo"
$1[3]="Hello"
$1[4]="Whats up"
$1[5]="How ya doing"

For $A= $1[1] to $1[5]
msgbox(0,'',$A)
Next

err. whats up with the autoit style it looks look toilete water. :)

Share this post


Link to post
Share on other sites



ahh.. i figured it out.. Yay!! :)

Dim $1[6]

For $A= 1 to 5
$1[1]="Hi"
$1[2]="Yo"
$1[3]="Hello"
$1[4]="Whats up"
$1[5]="How ya doing"
msgbox(0,'',$1[$A])
Next

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0