lua-users home
lua-l archive

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


2015-04-14 21:54 GMT+02:00  <tonyp@acm.org>:

>  Examples where it wouldn't work?)

Any table for which next(t,#t) is nil will look empty to kpairs.
For example:

s={[100]=0}; for k=1,100 do s[k]=k end