lua-users home
lua-l archive

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


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. :)

Cheers,
Eric