lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> print('table isvirgin ',table.maxn(tab)==#tab)

And again another # pitfall. This might or might not return true for
tables with holes!

I wonder how many more bugs will be out there due to people expecting
# to be in this or that way, other than the random indix when called
upon a table with hole.

Personally I too consider for a language that presents itself as easy
and the code looking tidy, the # notion an unfortunate stumbling block
I'm sure many more people will get their nose bloody.