# The Array Structure

#### by Dinesh[ Edit ] 2012-08-29 22:42:32

### The Array Structure

The array is probably the most widely used data structure; in some languages it is even the only one available. An array consists of components which are all of the same type, called its base type; it is therefore called a homogeneous structure. The array is a random access structure, because all components can be selected at random and are equally quickly accessible. In order to denote an individual component, the name of the entire structure is augmented by the index selecting the component. This index is to be an integer between 0 and n-1, where n is the number of elements, the size, of the array. TYPE T = ARRAY n OF T0

**Examples**
### TYPE Row = ARRAY 4 OF REAL

TYPE Card = ARRAY 80 OF CHAR

TYPE Name = ARRAY 32 OF CHAR