buddivictory 0 Posted January 23, 2004 Share Posted January 23, 2004 How do I auto populate an array. example I need an array that I can but letters into to compare with another array. Thanks. Link to post Share on other sites
CyberSlug 6 Posted January 23, 2004 Share Posted January 23, 2004 (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 January 23, 2004 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! Link to post Share on other sites
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now