lua-users home
lua-l archive

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


When loadfile() or loadstring() fail they return (nil, message). The message contains the line number where the error occurred. How the script can obtain that line number not resorting to parsing the message string?

--
Shmuel