lua-users home
lua-l archive

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

On Wed, Apr 2, 2008 at 4:12 PM, Eugen-Andrei Gavriloaie
<> wrote:
>  So, on the second lua_evaluate_expression call from C++ I will have a value
> of 2 instead of the string 'mysql' pushed on the stack because the entire
> script execution stops at the first return. Am I right?

no, each call to lua_evaluate_expression() would compile and execute a
new script in the same context. it won't 'accumulate' a long script.