jbrave
1
is there a way to concatenate arrays?
arrayone=["test","west","best"]
arraytwo=["guest","fest","blessed"]
arraythree= [arrayone+arraytwo]
this results in a two element array containing two arrays, instead of one array containing all six elements.
hoffmcs
2
This should work.
arrayone.Append(arraytwo)
jbrave
3
seems to work. arraythree=arrayone.append(arraytwo) on the otherhand seems to result in type UNKNOWN
Append doesn’t return a value, it appends the second array to the first. If you need a third array, you should do this:
arrayone = [ "blah", "blah", "blah" ]
arraytwo = [ "blah", "blah", "blah" ]
arraythree = []
arraythree.Append(arrayone)
arraythree.Append(arraytwo)