[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: BUG in table.concat
- From: "Leo Razoumov" <slonik.az@...>
- Date: Tue, 1 Jul 2008 00:01:03 -0400
On 6/28/08, Petite Abeille <firstname.lastname@example.org> wrote:
> On Jun 29, 2008, at 12:54 AM, Leo Razoumov wrote:
> > The last example also has 2 holes (t,t) but it works.
> ipairs "will iterate over the pairs (1,t), (2,t), ···, up to the
> first integer key absent from the table."
My problem is with "table.concat" and _not_ with ipairs.
Reading carefully your reply I still cannot figure it out while one
hole breaks table.concat but two holes work fine.
Finally, nil values are not stored in a table. According to the
reference manual assigning t[k]=nil clears the t[k] value.
> "Don't claim that you have found a bug"
> -- Eric Steven Raymond, "How To Ask Questions The Smart Way", 2001
It is either a bug in Lua implementation or a bug in Lua documentation.