lua-users home
lua-l archive
loadfile and line number
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
loadfile and line number
From
: Shmuel Zeigerman <shmuz@
...
>
Date
: 2012年10月11日 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
Follow-Ups
:
Re: loadfile and line number
,
Luiz Henrique de Figueiredo
Prev by Date:
Re: Announcing moonslice luv*, and lhttp_parser
Next by Date:
Re: loadfile and line number
Previous by thread:
Re: Documented return type for luaL_newlib is wrong
Next by thread:
Re: loadfile and line number
Index(es):
Date
Thread
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル