current line number in Lua
Posted
by prideout
on Stack Overflow
See other posts from Stack Overflow
or by prideout
Published on 2010-03-31T19:26:08Z
Indexed on
2010/03/31
19:33 UTC
Read the original article
Hit count: 98
lua
Does Lua support something like C's _LINE_ macro, which returns the number of the current code line? I know Lua has a special built-in variable called _G, but I don't see line number in there...
© Stack Overflow or respective owner