lua-users home
lua-l archive

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




On 21/06/16 04:38 PM, Patrick Donnelly wrote:
On Tue, Jun 21, 2016 at 3:29 PM, Soni L. <fakedme@gmail.com> wrote:

On 21/06/16 04:26 PM, Patrick Donnelly wrote:
On Tue, Jun 21, 2016 at 3:22 PM, Soni L. <fakedme@gmail.com> wrote:
But varargs (and thus varargs-based arrays) are nil-safe by default.
Show me in the manual where it says **tables** are not nil safe and
I'll stop posting to lua-l*.

* For today at least.

http://www.lua.org/manual/5.3/manual.html#3.4.7
[...]
the length of a table t is only defined
if the table is a sequence,
I left in the important part for you ^. # is only defined for sequences.

Do you know what "array" means? Do you know how much of the stdlib relies on #?

--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.