assigning array data

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


On Wednesday, April 17, 2002, at 03:41 , Chipp Walters 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]
> .
Chipp

Umm... what are you trying to do? Do you mean to put something like:
17 into 1,1
35 into 2,1
24 into 1,2 and
32 into 2,2?
Or are your trying to put the string "17,35" into 1,1?

How it is done in each case should be clear enough from the questions, 
but ask if it isn't.

regards
David
> .
> .
>  
> thx,
>  
> Chipp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 655 bytes
Desc: not available
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20020417/32f37d31/attachment.bin>


More information about the use-livecode mailing list