Sign in to follow this  
Followers 0
botanic

array table

5 posts in this topic

I need to make a 2d array table to store data is there any way I can do this?

Share this post


Link to post
Share on other sites



I need to make a 2d array table to store data is there any way I can do this?

Yes

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

ok then HOW :) do i make one ^.^

Share this post


Link to post
Share on other sites

ok then HOW :) do i make one ^.^

With your fingers + a keyboard?

I'm about to sound like a prick (not hard for me)... I/We aren't mind readers, your question is so broad with nothing even remotely pointing to what you want to accomplish.

Look up arrays in the manual.

1D

GLOBAL $aArray1[10]; This 1 dimensional array has now been set with 10 elements 0 - 9

$aArray1[0] = 18 ; Now I've set my 1D array element 0 to 18

2D

GLOBAL $aArray2[10][2]; This 2 dimensional array has 10 elements in it's first index and 2 in it's second (both start at 0)

$aArray[0][1] = 18; Now [0][1] = 18


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

2D

GLOBAL $aArray2[10][2]; This 2 dimensional array has 10 elements in it's first index and 2 in it's second (both start at 0)

$aArray[0][1] = 18; Now [0][1] = 18

thats all i needed to knwo tks ^.^

PS i did look up arrays and there isnt anything in the index :/ didnt think to look in the other sections :)

Edited by botanic

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