RosettaCodeData/Task/Collections/Ada/collections-2.adb

13 lines
188 B
Ada
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
procedure Array_Collection is
type Array_Type is array (1 .. 3) of Integer;
A : Array_Type := (1, 2, 3);
begin
A (1) := 3;
A (2) := 2;
A (3) := 1;
end Array_Collection;