Title: Re: assigning array data
This should be a simple one. But, I can't get it. How do I explicitly assign a value to an "n" dimensional array?
 
for instance: does this work?
 
put ["17","35"] into myarray[1,1]
put ["24","32"] into myarray[1,2]

Hi Chip,

No, that doesn't work, because RunRev's array notation is limited to one dimension.

But you could create a "quasi array" using keys:

  put someValue into myArray["1,1"]
  get myArray["1,2"]
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



Reply via email to