On 12/11/2010 10:49 AM, steve donovan wrote:
table.insert(t, 1) table.insert(t, nil) table.insert(t, 3) why not just? t[1] = 1 t[3] = 3
table.insert(t, 1) table.insert(t, nil) table.insert(t, 3)
why not just? t[1] = 1 t[3] = 3
because #t ~= 3 then
I think we've become accustomed to table.insert(t,nil) being a no-op... steve d.