< previous page page_709 next page >

Page 709
0709-01.gif
Figure 13-1
A Two-Dimensional Array
0709-02.gif
0709-03.gif
This example declares alpha to be a two-dimensional array, all of whose components are float values. The declaration creates the array that was pictured in Figure 13-1.
To access an individual component of the alpha array, two expressions (one for each dimension) are used to specify its position. Each expression is in its own pair of brackets next to the name of the array:
0709-04.gif
The syntax template for accessing an array component is

 
< previous page page_709 next page >