<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: assigning array data</title></head><body>
<blockquote type="cite" cite>
<blockquote type="cite" cite><font face="Arial" size="-1">This should
be a simple one. But, I can't get it. How do I explicitly assign a
value to an "n" dimensional array?</font></blockquote>
<blockquote type="cite" cite> </blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">for
instance: does this work?</font></blockquote>
<blockquote type="cite" cite> </blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">put
["17","35"] into myarray[1,1]</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">put
["24","32"] into myarray[1,2]</font></blockquote>
</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Hi Chip,</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>No, that doesn't work, because RunRev's
array notation is limited to one dimension.</blockquote>
<div><br></div>
<div>But you could create a "quasi array" using keys:</div>
<div><br></div>
<div>  put someValue into myArray["1,1"]</div>
<div>  get myArray["1,2"]</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
Rob Cozens<br>
CCW, Serendipity Software Company<br>
http://www.oenolog.com/who.htm<br>
<br>
"And I, which was two fooles, do so grow three;<br>
Who are a little wise, the best fooles bee."<br>
<br>
from "The Triple Foole" by John Donne (1572-1631)</div>
</body>
</html>