[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua dictionary mechanism
- From: lhf@... (Luiz Henrique de Figueiredo)
- Date: Wed, 14 Oct 1998 21:51:23 -0200 (EDT)
>From: Dan Marks <firstname.lastname@example.org>
>Is it possible to use the lua dictionary mechanism to keep a data
>space that is separate from the global variables in lua? I would like
>to create a separate variable namespace that is accessible from
>several currently running lua threads. To do this, I wanted to create
>a new kind of lua_tag that would have the settable/gettable redefined
>to retrieve the objects from this new table, so that many lua instances
>could retrieve this data from the same namespace.
sure, but it will be cleaner if you use set/getlobal to redirect "global"
variable access to tables.