Re: [5.1.4/newbie] "attempt to index ... 'file' (a nil value)"?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [5.1.4/newbie] "attempt to index ... 'file' (a nil value)"?
- From: Gilles Ganault <gilles.ganault@...>
- Date: 2011年2月18日 13:29:33 +0100
On 2011年2月18日 10:26:25 -0200, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>luac -p
Thanks, I'll give this and lua-inspect a try.
>Use luaL_loadfile+lua_pcall instead of luaL_dofile.
According to Google, those are C functions used to call a Lua file. I
only run scripts with the Lua interpreter, but thanks for the tip.