[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how to get varname as in varname = functionname()
- From: "M vd Honing" <mvdhoning@...>
- Date: Sun, 30 May 2004 00:01:04 +0200
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.