Array

       Imagine a shelf for CDs, with little holes for the CDs, enummerated. It is very easy to find no. 22. And there's only space for a finite number of CDs. Arrays work the same way.
       An array is a data type based on the other data types. You can have e.g. an array of numbers or strings. If the data type is numbers, there's numbers in all of the array, etc. Enummeration begins at 0. And you can e.g. address the array myShips, element no. 3 this way:

myShips[3]

Concept last updated: 06/05 2004.

Relations

is a

Other sources

Adfærdsmønster Array ASP, PHP

Libellus