lua-users home
lua-l archive

Re: Reading all globals

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


--- 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

AltStyle によって変換されたページ (->オリジナル) /