[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Second class nil? Strong and weak nils in tables?
- From: Miles Bader <miles@...>
- Date: Sun, 28 Oct 2007 08:42:54 +0900
Duck <duck@roaming.ath.cx> 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)...
-Miles
--
=====
(^o^;
(()))
*This is the cute octopus virus, please copy it into your sig so it can spread.