• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community


  1. T

    How do I remove an entry from a table by its index?

    I've read that the correct way to remove an entry from a table is to simply set it to nil. However, when I try to do this, I inadvertently remove all subsequent entries as well. Here is my sample code: arr = {'a', 'b', 'c', 'd'} for index, row in ipairs(arr) do print(index, row) end...