Previous topic | Next topic | Ada Home Page | Index

Arrays

An array is a data structure   which groups related items together

Array index vs. array element

Think of an array as a collection of letter boxes:

When designing an array, you need to decide

Examples

The picture below shows three example array types. They are similar to the extent that each can store 8 items of data, but they differ in what can be stored and how each element is labelled:


Previous topic | Next topic | Ada Home Page | Index
c-lokan@adfa.oz.au / 27 Feb 96