On 25.02.2016 14:33, Nicholas Wilson wrote: > Note that D has zero based array indexing > so assuming your array has 100 elements history[1..100] > is going one past the end of the array. No, that's fine. `history[1..100]` gives you 99 elements starting at index 1, i.e. all except the first one.