Sign in to follow this  
Followers 0
PerryRaptor

Array Questions

8 posts in this topic

Anyone know the maximum number of entries that can exist in an Array?

Comparing to an Excel SpreadSheet; is there a maximum number of rows and colomns?

Share this post


Link to post
Share on other sites



64 million I think? The AutoIt help file knows I think, yep it does!

When creating arrays you are limited to up to 64 dimensions and/or a total of 16 million element.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

Thanks...I needed to update my help file to find the answer.

Share this post


Link to post
Share on other sites

In Excel, 400 rows by 12 columns = 4800 cells.

How do I create the array in AutoIT with this size?

How do I ensure that all data in each row and it's 12 columns stay intact?

Share this post


Link to post
Share on other sites

Maybe

Dim $Array[12][400]

Would make the actual elements: (because arrays start at 0)

$Array[0][0]

to

$Array[11][399]

Hope that makes some sense... as for making sure the data is intact, I don't know what you mean?


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

All of the data contained Row1, Columns A thru M, is related and must be recalled in order.

I'm thinking in row/cell...AutoIT references as cell/row.

So is Row100/Cell12 scripted as $SS_Array[12][100] ?

Share this post


Link to post
Share on other sites

I've included an attachment of something I did in paint real quick, it shows you how to connect rows/columns.

The first columns first cell for example is: [0][0]

The second columns first cell is: [1][0]


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

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