lua-users home
lua-l archive

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



> I guess I did not secribe my problem.  Here is the code I am trying to
> compile:
> #include <stdio.h>
> #include "lua.h"
>
> void main()
> {
>  lua_dofile("hello.lua");
> }
>
>

Just a side note.
Do not forget to call lua_open() before lua_dofile.

-- waldemar