Arrays do not have to be a simple list of keys and values; each location in the array can hold another array. This way, you can create a multi-dimensional array. The reason you may use this type of array is when you have records of each item. For example, car, year, price,... and you want display one record at a time.
The most commonly used are two-dimensional arrays. You can think of a two-dimensional array as a matrix, or grid, with width and height or rows and columns. Here is how you could define two-dimensional array and display the array values on the web page:
'The UBound function will return the 'index' of the highest element in an array. For i = 0 to UBound(arrCars, 2) Response.Write("<TR><TD>#" & i & "</TD>") Response.Write("<TD>" & arrCars(0,i) & "</TD>") Response.Write("<TD>" & arrCars(1,i) & "</TD>") Response.Write("<TD>" & arrCars(2,i) & "</TD></TR>") Next