lua-users home
lua-l archive

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

Duck <> writes:
>>   local t = {...}
>>   for k = 1, #t do
>>      local v = t[k]
>>      do_something (k, v)
>>   end
>>seems clear enough...
> That's exactly my point. That code is the clear and natural way to use
> {...}, but it also breaks whenever any of the args in ... is nil.

No it doesn't (I tried it)...


*This is the cute octopus virus, please copy it into your sig so it can spread.