• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Working with Arrays > Arrays with Multiple Dimensions

Arrays with Multiple Dimensions

Arrays can also use more than one index to locate an element. For example, a two-dimensional array assigns two indexes to each element. To declare a two-dimensional array, you specify the range of each index, separated by commas. For example, this statement defines an array of 10 elements by 10 elements:

Dim arrTaxAmount(1 To 10, 1 To 10) As Double


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint