RosettaCodeData/Task/Array-concatenation/Ada/array-concatenation.ada

4 lines
123 B
Ada
Raw Permalink Normal View History

2013-04-10 14:58:50 -07:00
type T is array (Positive range <>) of Integer;
X : T := (1, 2, 3);
Y : T := X & (4, 5, 6); -- Concatenate X and (4, 5, 6)