Array concatenation: Difference between revisions
Content added Content deleted
m (Fixed white space) |
|||
Line 2,412: | Line 2,412: | ||
=={{header|Ursa}}== |
=={{header|Ursa}}== |
||
<lang ursa># |
<lang ursa># |
||
# array concatenation |
|||
# |
|||
# create two streams (the ursa equivalent of arrays) |
# create two streams (the ursa equivalent of arrays) |
||
# a contains the numbers 1-10, b contains 11-20 |
# a contains the numbers 1-10, b contains 11-20 |
||
Line 2,427: | Line 2,424: | ||
# append the values in b to a |
# append the values in b to a |
||
⚫ | |||
for (set i 0) (< i (size b)) (inc i) |
|||
⚫ | |||
end for |
|||
# output a to the console |
# output a to the console |