lua-users home
lua-l archive

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


On 3/13/07, Wesley Smith <wesley.hoke@gmail.com> wrote:
Is there a way to stringify a variable name in Lua?  Something like:

stringify(variable) == "variable"    -- evaluates to true

It might be possible w/ the debug library, but all bets are off if the
code has been 'stripped' of debugging info...
Just my guess.

--
Thomas Harning Jr.