> If one ignores int-overflow problems, the test can be written > if (nelems+inc >= limit) lua_error(...); > And the problem is more obvious. Sure. The test could be '>'; so the correct answer is #1. -- Roberto