Global Array?

Jim Ault JimAultWins at
Tue Dec 12 17:49:06 EST 2006

On 12/12/06 2:38 PM, "Frank D. Engel, Jr." <fde101 at> 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

Jim Ault
Las Vegas

More information about the Use-livecode mailing list