That could be useful as a parser.
On a similar note, I thought it might be cool if you could use "+" (or something similar) with slices to create a new array:
Global a[] = [1,2,3,4,5]
a = a[..2] + a[4..]
to create a new array with [3] missing and a.length shortened by one. It's not that hard to do it in other ways, but this would be useful.
Russell
On a similar note, I thought it might be cool if you could use "+" (or something similar) with slices to create a new array:
Global a[] = [1,2,3,4,5]
a = a[..2] + a[4..]
to create a new array with [3] missing and a.length shortened by one. It's not that hard to do it in other ways, but this would be useful.
Russell