[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: loadfile and line number
- From: Shmuel Zeigerman <shmuz@...>
- Date: Thu, 11 Oct 2012 13:03:27 +0200
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