Cam somebody expand on this for me please.
I want to pass 2 local arrays to the same function and return a single array
<edit>
Bit more info.
I'd like to put this into a function...
Local a[2]
Local b[2]
a[0]=0
a[1]=1
b[0]=2
b[1]=3
Local c[]
For n=EachIn a
Print n
Print "num : " + num
c=c[..num+1]
c[num]=n
num:+1
Next
For n=EachIn b
Print "num : " + num
c=c[..num+1]
c[num]=n
num:+1
Next
For o = EachIn c
Print o
Next
I've tried using slices to copy the 2 arrays into a 3rd and also the listtoarray by creating a new list from the array list but without success.
If there's an easy way I have missed then please let me know.