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...