Home Segments Top Top Previous Next

514: Mainline

To read data from the durations array, once the data have been written, you write an expression containing the array name and a bracketed integer index. The following expression, for example, yields the integer stored in the place indexed by the value assigned to the counter variable:

durations[counter]