[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ipairs_remove - remove items from array while iterating it
- From: "Ashwin Hirschi" <lua-l@...>
- Date: Fri, 01 Nov 2013 21:31:36 +0100
Also, the line:
if tbl[i] then
should probably be:
if tbl[i] ~= nil then
if you want to iterate over sequences with booleans... [;-)]
Ashwin.