lua-users home
lua-l archive

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

On Wed, Sep 14, 2016 at 10:04 AM, Roberto Ierusalimschy <> wrote:
A *border* in a table 't' is any non-negative integer such that
This definition is very clear, but a possible misinterpretation of the examples might arise because the values are the same as the indices, e.g., ...

The table {1, 2, 3, nil, 5} has two borders, 3 and 5

Might be less ambiguous if it said

 The table {a, b, c, nil, e} has two borders, 3 and 5.