テーブルの扱い

tbl ={
   [1] = 10
}
print (#tbl)

tbl2 ={
   [10] = 10
}
print (#tbl2)
$ lua test.lua
1
0

そんな・・・いやまわからなくはないけど。