lua-users home
lua-l archive

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

For instance, the expression debug.getinfo(1,"n").name returns a table
with a name for the current function, if a reasonable name can be
found, and the expression debug.getinfo(print) returns a table with
all available information about the print function.

I guess debug.getinfo(1,"n").name is not a table, but
debug.getinfo(1,"n") is. :)