lua-users home
lua-l archive

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

lua_load is a very generic function to
load code (you execute it afterwards
with lua_call or lua_pcall). Try
luaL_loadfile and luaL_loadbuffer.
But, if you prefer, lua_dostring still
exists, it is declared in lauxlib.h
(lauxlib.pas, for Delphi).
"lua_dostring" just ends the program without telling any kind of error.

Are you using THLua or doing your own
"header files?". I was converting the
latest THLua (Lua 5.0 w0) to Lua 5.0
final, in case you are interested.
Yes. Thank you very much.