2 identical tables, 2 different lengths: res = {nil, "x"} res2 = {} res2[1] = nil res2[2]= "x" print(#res, #res2) ---->> 2, 0 I would expect both to have length 0, but the former has length 2. This smells like a bug to me. wes