8.9. Rectangular Arrays

So far, we have discussed one-dimensional (or single-subscripted) arrays—arrays that contain one row of values. In this section, we introduce multidimensional (also called multiple-subscripted) arrays, which require two or more indices to identify particular elements. We concentrate on two-dimensional (also called double-subscripted) arrays, or arrays that contain multiple rows of values. There are two types of two-dimensional arrays—rectangular and jagged. We discuss jagged arrays in Section 8.12. Rectangular arrays often represent tables of values consisting of information arranged in rows and columns. Each row is the same size, and each column is the same size (hence the term “rectangular”). To identify a particular ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.