[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: New array type? (was: 'table' as fallback for tables)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 7 Jul 2016 15:20:28 -0300
> The current equivocation, that # is undefined when the table
> is not a sequence, sells it short. The property documented
> in the Lua 5.1 manual, that t[#t+1] is guaranteed to be an
> empty slot, is a useful one, no matter how many newbies
> are puzzled by it.
At least the implementation still guarantees that; it is only a
documentation matter...
-- Roberto
- References:
- Re: New array type? (was: 'table' as fallback for tables), steve donovan
- Re: New array type? (was: 'table' as fallback for tables), steve donovan
- Re: New array type? (was: 'table' as fallback for tables), Soni L.
- Re: New array type? (was: 'table' as fallback for tables), Tim Hill
- Re: New array type? (was: 'table' as fallback for tables), Soni L.
- Re: New array type? (was: 'table' as fallback for tables), Tim Hill
- Re: New array type? (was: 'table' as fallback for tables), Coda Highland
- Re: New array type? (was: 'table' as fallback for tables), steve donovan
- Re: New array type? (was: 'table' as fallback for tables), Joseph Manning
- Re: New array type? (was: 'table' as fallback for tables), Dirk Laurie