lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Table.remove() issue with the last element
From
: Doug Currie <doug.currie@
...
>
Date
: Mon, 20 Jun 2016 18:00:28 -0400
On Mon, Jun 20, 2016 at 4:36 PM, Laurent FAILLIE
<
l_faillie@yahoo.com
>
wrote:
Hello,
I'm facing an issue with table.remove when I would like to remove the last element of a table.
You should change
table.remove(tbl, i)
to
tbl[i] = nil
e
Follow-Ups
:
Re: Table.remove() issue with the last element
,
Laurent FAILLIE
References
:
Table.remove() issue with the last element
,
Laurent FAILLIE
Prev by Date:
Re: Can't luarocks and/or the luaposix rockspec be a little smarter?
Next by Date:
Re: Can't luarocks and/or the luaposix rockspec be a little smarter?
Previous by thread:
Table.remove() issue with the last element
Next by thread:
Re: Table.remove() issue with the last element
Index(es):
Date
Thread