Sign in to follow this  
Followers 0
Falling

Array help

3 posts in this topic

OK why can't I do this?

$ListOfChars[] = "ABCDEFGBLLLLAAAH"

And then:

$ListOfChars[1] ='A'

$ListOfChars[2] ='B'

$ListOfChars[3] ='C'

$ListOfChars[4] ='D'

$ListOfChars[5] ='E'

Etc...

Is there a function that explodes a string into a array?

or one that implodes a array into a string?

Look up Array in the help file a index entry is not even devoted to it. Other types of searches in the help file returns some information but man it seems awfully clunky way of useing a array?

Or why not this syntax?

$list["sweet", "nice", "cool"]

Is it somthing like critical to Autoit that disallows this kind of action?

Thanks for any infos!

Share this post


Link to post
Share on other sites



Or why not this syntax?

$list["sweet", "nice", "cool"]

Or

$list = StringSplit("sweet!!nice!!cool","!!")

It is easy. You are thinking complex...

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