lua-users home
lua-l archive

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


>I would like to create a custom print function that reports directly to 
>my gui, and one thing I would like is the line number of where it was 
>called.

Try debug.getinfo(2,"l").currentline .
--lhf