|
-
Jun 14th, 2010, 01:22 PM
#10
Re: How To Create A Leaderboard?
 Originally Posted by JonSea31
But this is relatively new to me.
Just to clarify, when I use the array of Top10(1,2), for example, does this mean it retrieves the information from row #1 and column #2 and displays it in a text label?
How you reference it depends on how you set it up and how you added data to it. As a rule of thumb, the "rows" are the right side dimension and columns the left side (contrary to your description). Only the far right-side can be resized with a ReDim Preserve statement.
Edited: Think of a 2D array like an Excel spreadsheet: First dimension are columns and 2nd are rows. For a 3D, think again of Excel: 1st dimension are worksheet tabs, 2nd dimension are columns within that tab, and 3rd dimension are rows within that tab. This is how I first associated multidimensional arrays so my mind didn't get foggy.
Last edited by LaVolpe; Jun 14th, 2010 at 01:26 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|