News for hackers. Stuff that matters.
Re:Lua: Good, bad, and ugly parts by groovy2shoes on Saturday March 09, 2013 @10:11PM (#5350544)
If you want the array elements to shift into the gap, you want to use table.remove:

    local array = {1, 2, 3, 4}
    table.remove(array, 2)
    -- array is now { [1] = 1, [2] = 3, [3] = 4 }

There are no comments on this comment yet.