Array Slice Ranges

Nikita Kalaganov nkalaganov at icl.kazan.ru
Thu Nov 9 22:07:20 PST 2006


> Wouldn't that be -1? But the point stands.

Ah, yes of course.

> Also how do you get a 0 length slice with inclusive?
> exclusive
> data[0..0].length == 0;
> inclusive
> data[0..0].length == 1;

Hmm, why it's so important ?



More information about the Digitalmars-d mailing list