Is it possible to mix both types of array keys? The code I below works fine until I try to access any elements of the array, then I get an ArrayOutofBounds exception. The snippet is pretty short and I would hope it&#39;s self evident what I&#39;m trying do with it.<br>
<br>float scales[0][0][0];<br><br>[ 0, 2, 4, 5, 7, 9, 11, 12 ] @=&gt; melodies[0];<br><br>[ [1.0, 1.0], [16.0, 15.0], [9.0, 8.0], [6.0, 5.0], [5.0, 4.0], <br>&nbsp;[4.0, 3.0], [7.0,5.0], [3.0, 2.0], [8.0,5.0], [5.0, 3.0], <br>
&nbsp;[7.0, 4.0], [15.0, 8.0], [2.0, 1.0]<br>] @=&gt; scales[&quot;just&quot;];<br><br><br>float et[13][2];<br>for(0 =&gt; int i; i &lt;= 12; ++i){<br>&nbsp;&nbsp;&nbsp; 1.0 =&gt; et[i][0];<br>&nbsp;&nbsp;&nbsp; Math.pow(2.0, i / 12.0) =&gt; et[i][1];<br>}<br>
<br>et @=&gt; scales[&quot;equalTempered&quot;];<br><br>&lt;&lt;&lt; scales[&quot;just&quot;][0] &gt;&gt;&gt;;<br><br><br>