lua-users home
lua-l archive

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


>I just meant
>that for _routines_ that took no arguments and return no values, dostring
>is a good choice.

	lua_dostring(L,"f()");

is equivalent to

	lua_getglobal(L,"f");
	lua_call(L,0,0);

and this last version is faster.
--lhf