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

4 lines
123 B
Ada
Raw Permalink Normal View History

2026-04-30 12:34:36 -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)