lua-users home
lua-l archive

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


Hi quick question:

If I define a function thus:

foo = function()
	print("foo called")
end

Then set

bar = foo

Is there any way later in the execution of the program that I can retrieve the source Lua code of foo from bar?

Thanks!