[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ipairs and extending numeric for loop
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 25 May 2010 08:39:08 +0200
On Tue, May 25, 2010 at 1:05 AM, Alexander Gladysh <agladysh@gmail.com> wrote:
> "The behavior of next is undefined if, during the traversal,
> you assign any value to a non-existent field in the table. You may
> however modify existing fields. In particular, you may clear existing
> fields."
I'd forgot that adding items was going to be unspecified.
But 'clear existing fields' is a very useful guarantee!
steve d.