lua-users home
lua-l archive

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


Martin Kendall wrote:

> I am looking at extending the multiple inheritance example
> in "Programming In Lua" (ch. 16.3).

> [...] it is mixed into the execution of the current method
> (i.e. executed in the same scope and then execution of the
> original method continues).

Deciding at runtime what scope (including locals, not just
globals) to run something in would require use of the debug
library (or maybe it could be done with a macro system).

I may not have fully understood what you're trying to do, in
which case my comment may not apply.

-- 
Aaron