Slices

BlitzMax Forums/BlitzMax Programming/Slices

Is there any easy way to do something like the following (slices don't appear to support this):

assuming a and b are precreated arrays, I want to copy all the elements of the array b to a EXCEPT the 11th one.

i.e. something like:
Local a:Int []
Local b:Int[20]
a = b[0..10|12..20] 'copy all elements but the 11th one to a[], resulting in a 20 element array instead of a 21 element array.

*EDIT*

or even:
b = a[0..5]+a[7..9] 'this doesn't work