Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
Select your favorite languages :
  • Or search :

Idiom #303 Array with non-default lower bound

Declare an array a of integers with six elements, where the first index is 42 and consecutive elements have the indices 43, 44, 45, 46, 47.

A : array (42 .. 47) of Integer;
  integer, dimension(42:47) :: a
var
  a: array[42..47] of integer;

New implementation...
< >
tkoenig