lua-users home
lua-l archive

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


I have been looking for the origin of the return code 3 from lua_dofile. I
don't find a 3 through the calls down to luaD_protectedrun(). Does anyone
know where a return code of 3 can come from?

Michael

----- Original Message ----- 
From: "Michael Newberry" <mnewberry@axres.com>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Friday, August 20, 2004 9:02 AM
Subject: Re: cannot index a table loaded as a chunk


> lua_dofile returns 3.
>
> Michael
>
> ----- Original Message ----- 
> From: "Ben Sunshine-Hill" <sneftel@gmail.com>
> To: "Lua list" <lua@bazar2.conectiva.com.br>
> Sent: Friday, August 20, 2004 3:30 AM
> Subject: Re: cannot index a table loaded as a chunk
>
>
> > Well, the Lua side looks fine. I suggest you check the return value of
> > lua_dofile to see if the file is being loaded in appropriately.
> >
> [...]
>
>
>