lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo a écrit :
calling luaL_dofile seems to quit my programm, after several tests, I've found that if I remove io.close() from a.lua, it works.

io.close() closes stdout and so you don't see the result of your printf.




Oh... it seems so logical after this explanation !



Thanks,

Michael

--
Michael Bonfils ( http://www.murlock.org )
membre de http://www.guses.org