lua-users home
lua-l archive

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


> How about
>
> do
>  local g=globals(table1.table2.table3)
>  local c = a+b
>  globals(g)
> end

I think lhf is forgetting that the globals function is not available after
you switch out the global table.  You'll have to store a local reference to
at least that function.

-John