lua-users home
lua-l archive

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


Am 30.12.2010 14:14, schrieb uki:
Please correct me if I'm wrong:
* if table has no holes # works
* if table has holes you don't know what # will return (it might return proper length or lenght of the first 'block' up till the first hole)
Do I understand this properly?
You missed one:
... or the last index of any fragment

But I have one other question:

Assuming a table which is virgin, how does virgin_table[0]=something affect # ? Is this predictable?

Regards, Jørgen