|
In Lua there is no native array type. To use them you use a table, but it’s up to you to make sure that all entries have a value. So in your examples you created tables with ‘holes’ in them, and then the length operator # has an “undefined” result
(as you noticed).
hth
Thijs
|