next up previous contents
Next: Array Terminology Up: Arrays Previous: Arrays

 

Arrays

Arrays (or matrices) hold a collection of different values at the same time. Individual elements are accessed by subscripting the array.

A 15 element array can be visualised as:

tex2html_wrap27045

And a 5 tex2html_wrap_inline27041 3 array as:

tex2html_wrap27047

Every array has a type and each element holds a value of that type.

For more information, click here gif


next up previous contents
Next: Array Terminology Up: Arrays Previous: Arrays

©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997
Not for commercial use.