SpiceQA
Questions
Tags
Users
Badges
In Lua, how can you print the name of the current function, like the C99 __func__ identifier?
user_331024
0
Created Oct 26, 2010
Edited Oct 26, 2010
Viewed 27503
Follow
Something like this:
function foo() print( __func__ ) ... end
How can it be done?
lua
18
0
Add comment
+
Share
7 Answers
Related