11 lines
290 B
Text
11 lines
290 B
Text
process
|
|
local integer arr1 variable initial {1, 2, 3}
|
|
local integer arr2 variable initial {4, 5, 6}
|
|
; adds the arr2 items to arr1
|
|
repeat over arr2
|
|
set new arr1 to arr2
|
|
again
|
|
; arr 1 now has all items - output them
|
|
repeat over arr1
|
|
put #main-output '%d(arr1) '
|
|
again
|