Sorry, but I'd like to go into a little more depth because this turns out not to function as I expected.<br><br>I folowed this;<br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You should be able to do this using a two dimensional array:<br><br>&nbsp;&nbsp;&nbsp;&nbsp; int memory[8][32];<br><br>You can treat this as a matrix or as an array of array.&nbsp;&nbsp;To get the 0th<br>array:<br><br>&nbsp;&nbsp;&nbsp;&nbsp; memory[0]<br><br>Should be of type int []:
<br><br>&nbsp;&nbsp;&nbsp;&nbsp; memory[0] @=&gt; int array[];</blockquote><div><br><br>And up till here it works.<br>&nbsp;</div>Now I store array[] in memory like this;<br><br>array @=&gt; memory[0];<br><br>That works. Now I make array change based on keyboard input (programing beats in my case). suppose now I'd like to go back to the last stored state. For this I go;
<br><br>memory[0] @=&gt; array;<br><br><br> Which I expected to recall my last stored version of the array but in fact it doesn't; this seems to keep &quot;array&quot; identical to what it was. Other things go wrong as well, particularly; I programed some beats (meaning I tured array into something interesting), stored them in memory[0], then made a variation in memory[1], did that again for memory[2]. At that point trying to recall what was in memory[0] results in getting data identical to what is in memory[2] (and so identical to array as well).
<br><br>I believe this to be because I think I'm creating a link between the array and a section of memory while what I'd like to do is copy data from the array to the &quot;memory&quot; where I'd like it to stay the same untill I tell it to change.
<br><br>So... Now what? Copy all numbers one by one? perhaps there is some special syntax or way of unlinking the reference while keeping the data?<br><br><br>Hope this is at least somewhat clear?<br><br>Yours,<br>Kas.<br>
</div>