assigning array data

David Vaughan drvaughan55 at mac.com
Wed Apr 17 17:29:01 EDT 2002


On Thursday, April 18, 2002, at 02:56 , Rob Cozens wrote:

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

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

Well, it is and it isn't, so to speak. Your approach seems rather 
complex when it can be handled in a virtual manner.
>
> See my post of 16 April:  Re: Quotes Required Around Keys in 2 
> Dimensional Arrays?

See my post on "assigning array data" of the same date.

cheers
David
> --
>
>
> 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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1275 bytes
Desc: not available
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20020417/f7c3fb74/attachment.bin>


More information about the use-livecode mailing list