AutoHotkey Community

It is currently May 26th, 2012, 2:18 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Is this a array
PostPosted: January 16th, 2009, 10:01 pm 
Offline

Joined: June 16th, 2007, 3:23 am
Posts: 280
I am trying to figure out what array are or can be used. Is it just like in my goto. Can it be used in other way? Is there a easy script to understand array?

Thanks

Code:
a=0

Begin:
Gosub a%a%
a++
Goto begin

a0:
msgbox, he
return

a1:
msgbox, allo
return

a2:
msbox, comment ça va?
Return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2009, 10:46 pm 
Offline

Joined: September 28th, 2007, 3:56 am
Posts: 279
Location: New York
You can use the help file to see details on arrays but I'm not sure your goto function is an array. An array is merely a series of variables like this

MyVar1
MyVar2
MyVar3
MyVar4

the variable name is the same but you append an incremented number on the end of the variable, usually using A_Index when in a loop. I would suggest reading the help document.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: G. Sperotto, Google Feedfetcher, LazyMan, poserpro, Tilter_of_Windmills and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group