Sign in to follow this  
Followers 0
buddivictory

Arrays

2 posts in this topic

How do I auto populate an array.

example I need an array that I can but letters into to compare with another array.

Thanks.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

;Easy way to create and populate an array

$months = StringSplit("Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec", ",")

;result it $months[1] contains "Jan" .... and $months[12] contains "Dec"

So look at string split in the help file

Edit: Also, you may want to consider using a loop with the Asc and Chr functions.

Edited by CyberSlug

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

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