Task

Show how to concatenate two arrays in your language.



If this is as simple as array1 + array2, so be it.




# create two streams (the ursa equivalent of arrays)
# a contains the numbers 1-10, b contains 11-20
decl int<> a b
decl int i
for (set i 1) (< i 11) (inc i)
        append i a
end for
for (set i 11) (< i 21) (inc i)
        append i b
end for
 
# append the values in b to a
append b a
 
# output a to the console
out a endl console