PerryRaptor Posted April 3, 2005 Share Posted April 3, 2005 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? Link to comment Share on other sites More sharing options...
Insolence Posted April 3, 2005 Share Posted April 3, 2005 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. Link to comment Share on other sites More sharing options...
PerryRaptor Posted April 3, 2005 Author Share Posted April 3, 2005 Thanks...I needed to update my help file to find the answer. Link to comment Share on other sites More sharing options...
CyberSlug Posted April 3, 2005 Share Posted April 3, 2005 The limit is 2^24 - 1 or 16,777,215 Dim $HereIsTheLimit[4096][4095] 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 comment Share on other sites More sharing options...
PerryRaptor Posted April 3, 2005 Author Share Posted April 3, 2005 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? Link to comment Share on other sites More sharing options...
Insolence Posted April 3, 2005 Share Posted April 3, 2005 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. Link to comment Share on other sites More sharing options...
PerryRaptor Posted April 3, 2005 Author Share Posted April 3, 2005 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] ? Link to comment Share on other sites More sharing options...
Insolence Posted April 3, 2005 Share Posted April 3, 2005 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. Link to comment Share on other sites More sharing options...
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