Arrays: new and old keys

Mark Brownell gizmotron at earthlink.net
Thu Sep 11 15:00:12 EDT 2008


>Message: 22
>Date: Thu, 11 Sep 2008 17:30:09 +0100
>From: "David Bovill" <david at architex.tv>
>Subject: Re: Arrays: new and old keys
>To: "How to use Revolution" <use-revolution at lists.runrev.com>
>Message-ID:
>	<c1c5836b0809110930k15acce51lf5078092131342c7 at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Oh - and anyone know where to find some documentation on the
>multidimensional arrays in Rev3.0?
>

I think that this is a bug fix requested. I got them working like this:

put "Hello World" into zam
put return & "I have a news" after zam
put return & "This test works with numerical keys" after zam
put return & "I sure would like these: [1][2][1][4]" after zam
   
put "test level 1" into myArray[1]

repeat with i = 1 to 4
 put line i of zam into myArray[1][i]
end repeat

answer myArray[1][3]

it works




More information about the use-livecode mailing list