lua-users home
lua-l archive

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


On Sun, Jul 06, 2003 at 01:04:19AM +0800, anderson wrote:
> I know I can use lua_dostring to execute strings I have in memory, but I'd
> also like to use the lua complied codes instead.

In 5.0, luaL_loadstring/file will compile a function of the file/string
that you can call. (Unfortunately parameters can not be passed to it
without kludges.)

-- 
Tuomo