What I really want is something like this:<br><br>auto s = args[1];<br>auto t = args[2];<br>auto d = new int[s.length][t.length];<br><br>but the compiler complains with the error: Error: Integer constant expression expected instead of s.length<br>
<br>So then I try to fudge it with something like:<br><br>auto d = new int[][t.length];<br>d.length = s.length;<br><br>But then accessing elements of d throws an exception: core.exception.RangeError@Lev(7): Range violation<br>
<br>Soo.. how am I supposed to make a matrix when I don&#39;t know the dimensions at compile time?<br><br><br>