Selecting a Variable name by Script

Dennis Brown see3d at writeme.com
Sun May 1 19:44:38 CDT 2005


Mark,

I can't, because the array variables I want to save are already 
multi-dimensional keyed arrays.  Otherwise I would save them as custom 
properties somewhere.

Dennis

On May 1, 2005, at 8:39 PM, Mark Talluto wrote:

>
> On May 1, 2005, at 4:56 PM, Dennis Brown wrote:
>
>> global gVariable1
>> on test
>>   put 1 into x
>>   put 50 into ("gVariable"&x)
>> end test
>
> How about:
>
>  put 1 into x
>  put 50 into gVariable[x]
>
>
> Mark Talluto
> -- 
> CANELA Software
> http://www.canelasoftware.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list