Any way to set len and ptr in dyn arrays?
Tom S
h3r3tic at remove.mat.uni.torun.pl
Mon Aug 7 14:58:44 PDT 2006
nobody wrote:
> theArray.myArrayInternals.len = buf[0] * buf[1];
> theArray.myArrayInternals.ptr = &buf[2];
erm ...
foo = (&buf[2])[0 .. buf[0] * buf[1]];
More information about the Digitalmars-d-learn
mailing list