lua-users home
lua-l archive

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


>But, what if I need to know the name of the table inside of the tag method.

You can't do that in general because the table may not even *have* a name.
If you know that the table is the value of a global variable, then you can
traverse the table of globals and find a name for the table (but note that
it may have several names).  If you really need this, then I think the easiest
way is to store the name on the table itself.
--lhf