lua-users home
lua-l archive

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


Eugen-Andrei Gavriloaie wrote:
3. I think the entire script will be executed entirely on each lua_evaluate_expression because of lua_pcall(L,0,1,0). This is not acceptable because I want to use this approach on other occasions. Here is ok, because we have to deal with a configuration file, but I will definitively have to deal with other types of Lua scripts that are not supposed to run over and over again. Am I right?

If I understood correctly what you are looking for, have a look at the "Generic call function" in PiL2 (25.4).

  Enrico