[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: Fri, 18 Feb 2011 14:27:12 +0100
On Fri, 18 Feb 2011 11:20:28 -0200, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>You did mention C... Anyway, use loadfile instead of dofile.
Right, sorry about that. I don't have access to the calling C program.
I just mentionned this because a compile/runtime error in Lua would
just return a non-zero error with no information about what happened.
I'll check loadfile. Thank you.