|
How about - > a={1,2,3,4,5,6} > a[1]=nil > =#a 6 Surely, one would *expect* # to return the same number as the number of iterations produced by ipairs() ? David B. Ryanne Thomas (UMR-Student) wrote: > In other words, you should never try #{nil, 2} or #{[2] = 2} in the first place. If you do, you must expect an unpredictable result.