lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Oops, that should have been:

function table.remove(t, ind)
  local next
  repeat
     next = t[ind+1]
     t[ind] = next
     ind = ind+1
   until next==nil
end

-Paul