slice based on base and width

"Øivind" oivind.loe at gmail.com
Sun Sep 8 03:53:21 PDT 2013


>   a[c -: d]   //D: a[c-d .. c]

I think this should be

a[c -: d]   //D: a[c-d+1 .. c+1],  e.g. a[5 -: 2] == [a[4], a[5]]



More information about the Digitalmars-d mailing list