lua-users home
lua-l archive

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


On Wed, Jan 2, 2013 at 5:18 PM, Marc Lepage <> wrote:
> Seems like that settles it. They will all go away after the function
> returns, so may as well just create them all. The function is recursive, but
> I only expect it to go half a dozen levels or so, and I can put a do/end
> around the locals before the recursion. Thanks.

Each recursive call should get its own set of local variables and
reset the number of variables limit.