Array Slice Ranges

Ary Manzana ary at esperanto.org.ar
Thu Nov 9 06:43:23 PST 2006


Ary Manzana escribió:
> "opSlice" should be called in any of the four cases, the compiler should 
> choose the appropiate value to send to the method depending on the 
> brackets/parenthesis used, but "opSplice" should be aware that the first 
> number is inclusive, the last is exclusive (just like now). Changing 
> this convention could break a lot of old code.

Ouch, forgot to mention: changing the meaning of "[1 .. 5]" breaks old 
code. :-(



More information about the Digitalmars-d mailing list