lua-users home
lua-l archive

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


2010/2/27 Pierre-Yves Gérardy <pygy79@gmail.com>:
> What about this?
>
> function lexicalScopePlaceHolder()
>    error("I'm not meant to be called")
>    return x, y, z
> end

Yes, exactly what I realized!  The sort of code that could be easily
auto-generated, and then  there is a single function which owns a
reference to all the locals.

But it will take me a week or two before I can go back to these
experiments....particularly interested in incrementally building GUI
applications.

steve d.