Why would it have to handle open ranges? 0 is the first element, -1 the last.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-03-06 00:34: Subject: negative indices in array ranges
The problem with a function or a set of functions is to dream up a good syntax the allows for ranges with either side open as well as both sides closed, and to handle that efficient. But OTOH we can let the tree optimizer reduce it all to a[b..c] expressions.
/ Martin Nilsson (har bott i google)