lua-users home
lua-l archive

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


On Wed, May 26, 2010 at 4:03 PM, Eike Decker <zet23t@googlemail.com> wrote:
> I might be wrong, but I think this is actually buggy. Usually, you
> would do it that way:

Ah, but it does actually work (one of my new year's resolutions was
never to post untested code ;))

According to the manual, one may delete keys in a next() traversal.
(Adding them is not guaranteed to work)

steve d.