concat arrays

BlitzMax Forums/BlitzMax Programming/concat arrays

VinceA(Posted 2007) [#1]
Could anybody help me out!
How can I concat two arrays..
Is this a built in feature in bmax?


Dreamora(Posted 2007) [#2]
It is since 1.26 if you have a regular 1D array


array = array1[..] + array2[..] (if you want to concat the whole array)


VinceA(Posted 2007) [#3]
Nice .. Just did the update, and it works .. What a time saver.
Thanks


Dreamora(Posted 2007) [#4]
Yeah especially if you wanted to cut out only a single slot, its now quite easy by using

array = array[1..(slotN-1)] + array[(slotN+1)..]