|
|
||
|
I am having a hard time understanding why I am seeing different
behavior in the following cases:
t = { nil, "foo" }
print(#t)
2
t = { [1]=nil, [2]="foo" }
print(#t)
0
t = { [2]="foo" }
print(#t)
t[1] = nil
print(#t)
0
2
Can anyone shed some light on this for me?
Thanks,
Jon Nalley