lua-users home
lua-l archive

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


On Tue, Nov 30, 2010 at 7:12 AM, Alexander Gladysh <agladysh@gmail.com> wrote:
> Basically, the limit is per chunk. So, multiply your chunks (functions).

So, let me see if I understand. If the file looked like this:

(function()
  f(1),
  f(2),
  ..
  f(MAX_VARS)
)()
(function()
  f(MAX_VARS+1)
 ...
 f(MAX_VARS+MAX_VARS)
)()

etc, it would work?

One could also make the closures tables and loop over them later.

A little more work for the template, but that's also what Lua is good for ;)

steve d.