-- Collection of code snippets by Arne Vajhøj 
-- (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
with Ada.Text_IO,Ada.Integer_Text_IO;

use Ada.Text_IO,Ada.Integer_Text_IO;

procedure Test is

A : array (0..1) of Integer;

begin
    for I in 0..2 loop
        A(I) := I + 1;
        Put(I,Width=>1);
        Put(" : ");
        Put(A(I),Width=>1);
        New_Line;
    end loop;
end Test; 
