Hi list, some more arrays for fun and (potential?) profit....<br><br>//this goes well;<br>int foo[8];<br>3 => foo[0];<br>5 => foo["test"];<br><br>//let's make sure<br><<< foo[0] >>>;<br>
<<< foo["test"] >>>;<br>
<br>//that was fun!<br>//lets do it again in 2D!<br><br>//fine<br>int bar[3][8];<br>
<br>//fine<br>3 => bar[0][0];<br>
<br>//not so fine<br>5 => bar[0]["test"];<br>
<br>//we never get here<br>
<<< foo[0][0] >>>;<br>
<<< foo[0]["test"] >>>;<br>
<br>
<br>
Why is this? Is this a bug? Missing feature? Complete misunderstanding of how to combine polydimentional arrays and sociative-ness?<br><br>ChucK claims foo goes out of bounds but I suspect it's either a bug or a syntax error because frankly I can't see how I could prevent
<br> 5 => bar[0]["test"]; from going out of bounds.<br><br>Yours,<br>Kas.<br>