Excellent, thanks for clarification.
To pass #!defined vars i'd need to do something like:
lua_run("some_function", '"' + VAR_1 + '"')
seeing that they need to be quoted as strings, or, is it possible to
access #!define vars from directly within the lua function?
Another side question, is
Hello,
there can be Lua function name plus up to 3 parameters, so over all, max
4 parameters to lua_run(...). The parameters must be given as string. An
example with max number of params:
lua_run("lua_funcx3", "$rU", "2", "$si");
Cheers,
Daniel
On 13.08.18 12:50, Asgaroth wrote:
> Hi All,
>
>
Hi All,
Quick question with regards the lua_run function in app_lua module.
The documentation for v5.0.x states:
"Execute the Lua function 'func' giving params as parameters. There can
be up to 3 string parameters. The function must exist in the script
loaded at startup via parameter 'load'.