[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: C, Lua, variable passing
- From: Mike Atamas <aelfgar@...>
- Date: Fri, 12 Sep 2003 06:17:28 -0400
Hello,
I am writing a C program which needs to get certain variables from a lua script that it runs (lua_dofile). I read in the manual that you would get this using the index of the variable. However, I have several variables and I do not always know what order they will be in or what values they could store. Is it possible to have lua pass C a variable knowing only the name of the lua variable?
Mike
aelfgar@aelfgar.com