assigning array data

Rob Cozens rcozens at pon.net
Wed Apr 17 12:19:16 EDT 2002


>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.

See my post of 16 April:  Re: Quotes Required Around Keys in 2 
Dimensional Arrays?
-- 

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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20020417/8b4f18d0/attachment.html>


More information about the use-livecode mailing list