Multidimensional Box arrays

Myron Alexander someone at somewhere.com
Fri Feb 2 04:01:19 PST 2007


Hello.

How does one create multidimensional Box arrays?

I'm looking to be able to do this:

Box[] a = boxArray(25, "Hello World", 1337);
Box[] b = boxArray("X", "Y", 42);

Box[][] ab = [a,b];

Then:

unbox!(int)(ab[0][0])

Thanks,

Myron.



More information about the Digitalmars-d-learn mailing list