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

4 lines
123 B
Ada
Raw Permalink Normal View History

2023-07-01 11:58:00 -04: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)