Array slice length confusion

Tim Matthews tim.matthews7 at gmail.com
Wed Jul 8 02:34:26 PDT 2009


Kagamin wrote:
> For this I use begin markers:
> 
> ubyte[] buff=new ubyte[100];
> int half=buff.length/2;
> ubyte[] buff1=buff[0..half];
> ubyte[] buff2=buff[half..$];

I actually think this has nothing to do with my OP.


More information about the Digitalmars-d-learn mailing list