lua-users home
lua-l archive

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


On 14 September 2016 at 15:04, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> --------------------------------------------------------------------------
> A *border* in a table 't' is any non-negative integer such that
>
>    (border == 0 or t[border] ~= nil) and t[border + 1] == nil
>
> That is, a border points to any position in a table where a non-nil value
> is followed by a nil value (or to 0, when position 1 is empty).
>

How about using the term 'bound' or 'upper bound'?

Regards