[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: BUG in table.concat
- From: "Eric Tetz" <erictetz@...>
- Date: Tue, 1 Jul 2008 18:37:40 -0700
Leo Razoumov wrote:
> "Given an array where all elements are strings or numbers, returns
> table[i]..sep..table[i+1] ··· sep..table[j]."
"table[i+1] ···" tells you it concatenates sequentially.
If table[i+i] is nil, it's not a "string or number", which is an
error. Same applies to table[i+2] (and +3, +4, etc. until n=j).
> NOTE: the definition above never explicitly addresses the issue of
> arrays with holes.
You quoted the part that addresses it explicitly. :)