lua-users home
lua-l archive

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


What i am trying to do (from within the called c function) is to print out
the varname on the screen. I do not want the name of the function but the
part before the = sign. I already know the function name as it is being
called. What i do not know is the name of var that is newly created. Also i
would like to use the following line in the c funtion: 
lua_setglobal( L, varname ); 
But maybe it should to that differently...

So calling:
Varname = FunctionName()
Would print on the screen:
Varname is created.