An array is a dimensional information store. A variable contains one piece of information, whereas an array contains more than one piece of information of the same type. Types (numbers, letters, and user-defined types) cannot be mixed within an array.
However, user-defined complex types can be contained in an array, allowing you to store multiple objects with a variety of data, side by side. Arrays can be one dimensional or multidimensional. A one-dimensional array is rather like a row of boxes in memory, into which you can place values.
You can define a one-dimensional array thus:
This example declares a variable of type integer that can contain 10 individual numbers, one after the other.
A two-dimensional array, ...