lua equiv of __LINE__ and __FILE__ ?

Posted by anon on Stack Overflow See other posts from Stack Overflow or by anon
Published on 2010-05-06T10:57:18Z Indexed on 2010/05/06 17:48 UTC
Read the original article Hit count: 181

Filed under:

I relaly like C's LINE and FILE ... does lua provide something similar? (I find it useful for tracking down printf's ... to know which file and which line the message comes from).

Thanks!

© Stack Overflow or respective owner

Related posts about lua