Jump to content
Sign in to follow this  


Recommended Posts


How do I auto populate an array.

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


Share this post

Link to post
Share on other sites

;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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.