Re: Reading all globals
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Reading all globals
- From: Eric Tetz <erictetz@...>
- Date: 2002年4月30日 09:00:39 -0700 (PDT)
--- Martin Swaine <martin.swaine@team17.com> wrote:
> I understand lua_getglobals puts them onto the stack as a table and then
> lua_gettable can be used to get the value of a named key, but I don't
> know in advance the keys(variable names) that are being used.
Search for 'lua_next' in the manual.
Cheers,
Eric
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com