[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: an Interval factory
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 26 May 2010 17:09:14 +0200
On Wed, May 26, 2010 at 4:52 PM, Duncan Cross <duncan.cross@gmail.com> wrote:
> But next() is irrelevant to ipairs(). The point is that, in an
> ipairs() loop, if you use table.remove() to remove an element from the
> table at the current (or previous) index, the next loop iteration will
> appear to have "skipped over" an element. For example:
Oops, my bad. didn't check the repeated-value case ....