Global Array?

Frank D. Engel, Jr. fde101 at fjrhome.net
Tue Dec 12 18:40:20 EST 2006


For some reason, I thought I'd tried this and it didn't work.

It's working now though...

Strange.  I must have been doing something weird then.


Ok, Thank you!


On Dec 12, 2006, at 5:49 PM, Jim Ault wrote:

> On 12/12/06 2:38 PM, "Frank D. Engel, Jr." <fde101 at fjrhome.net> wrote:
>
>> Can someone give me a hint as to how I can set up an array as a
>> global variable?
>>
>> I know how to set up global scalars:
>>
>> global var
>>
>> But how can I do this for an array?
> Exactly what do you mean by an array?
>
> The normal Rev definition is simply
>
> global gWhiz
>
> put "firetruck" into gWhiz["Tommy"]
> put "doll house" into gWhiz["Susan"]
> put "perfume" into gWhiz["Mom"]
> put "watch" into gWhiz["Dad"]
>
> Now the global gWhiz has gifts stored in an array structure of keys  
> and
> elements.
>
> Jim Ault
> Las Vegas
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list