fortran

Papabravo

Joined Feb 24, 2006
12,407
"I'm now a retired senior citizen on a fixed income."

was a family in-joke among my father-in-law's wealthy siblings, who all came from dirt poor beginnings in the aftermath of the great depression, and ended up multi-millionaires. Let's just say I'm engaging in hyperbole for effect.
 

Papabravo

Joined Feb 24, 2006
12,407
An array is a collection of data elements all of which have the same type. For example an array of integers, or an array of floating point numbers. There are no arrays that have a mixture of data types. An array has a size which defines the number of elements. For example an array of ten integers would have a size of 10. The elements in the array are ordered. That is to say there is a first element and a last element. In between the first and last elements each element has a predecessor and a successor. Elements in an array have an index which can range from 1 to the size of the array. In some languages the index can range from zero to (size - 1). some language allow arbitrary index ranges, for example -5 to +5.

That should get you started.
 
Top