assigning array data

Chipp Walters chipp at chipp.com
Wed Apr 17 01:06:01 EDT 2002


David,
Got it. Thx!

-cw



-----Original Message-----
From: use-revolution-admin at lists.runrev.com
[mailto:use-revolution-admin at lists.runrev.com]On Behalf Of David Vaughan
Sent: Tuesday, April 16, 2002 10:47 PM
To: use-revolution at lists.runrev.com
Subject: Re: assigning array data


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




More information about the use-livecode mailing list