Array of struct

Geoff Canyon geoff at runrev.com
Wed May 22 13:03:01 EDT 2002


>Firstly, how can I create a structure?
>And, how can I create an array of structures?
>
>TAL
>Fabio

What are your needs -- Revolution supports flexible data types, so you can store just about anything in a simple variable, or in an array of variables.

So for example, 

put "1,test,3.14" into tSomeArray["aKey"]
put item 2 of tSomeArray["aKey"] into tSomeVar

will end up with tSomeVar equal to "test"
-- 

regards,

Geoff Canyon <geoff at runrev.com> <http://www.runrev.com/>
Runtime Revolution Limited - The Solution for Software Development
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.




More information about the use-livecode mailing list