I almost have to apologize for this question but ..

How does one initialize a static rectangular array (2-d matrix) in D1?

None of the following or other variations that I've tried compile with DMD 1.0.

int[2, 3] matrix = [ 1, 2, 3,  4, 5, 6 ]; 

int[2, 3] matrix = [[ 1, 2, 3 ], [ 4, 5, 6 ]]; 

Thanks for all help.

Reply via email to