lua-users home
lua-l archive

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


>Notice how the second time I do table.remove(t,3) it removes 2 not 3

Curious. If one replaces 

  t[1] = {} 
  t[2] = {} 
  t[3] = {}
  
with 

  t = {{}, {}, {}}
  
it works as expected.  

Kurt Jung