lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Applying the # operator on a table
From
: steve donovan <steve.j.donovan@
...
>
Date
: Mon, 8 Apr 2013 15:30:20 +0200
On Mon, Apr 8, 2013 at 3:25 PM, Romeu Braz Pereira Gomes Filho
<
bpgomes55@gmail.com
>
wrote:
Is this an expected result or a bug?
It is expected; tables-with-holes (those containing nils) are not guaranteed to work properly with #
Different versions of Lua will in fact give different results, some of them 'correct'. This is undefined behaviour
Follow-Ups
:
Re: Applying the # operator on a table
,
Brad Jorsch
References
:
Applying the # operator on a table
,
Romeu Braz Pereira Gomes Filho
Prev by Date:
Re: Applying the # operator on a table
Next by Date:
Re: getting keywords in lua5.2
Previous by thread:
Re: Applying the # operator on a table
Next by thread:
Re: Applying the # operator on a table
Index(es):
Date
Thread