[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Redefining locals
- From: Matt Hellige <matt@...>
- Date: Thu, 11 Nov 2004 20:32:30 -0600
["Bilyk, Alex" <ABilyk@maxis.com>]
> Some people (not me) now say
> local _,_,x = <whatever>
> all over their scripts and this relies on
> local a, a
> being valid in Lua... as odd as it is.
I thinks that 'local a, a' should remain valid, but I think the
meaning should change... Instead of defining two separate slots, I
think it should define one slot and then assign to it... I guess
that's a silly distinction in this case, but it's important in other
cases...
Does that make sense? Maybe I'm misunderstanding something... That's
pretty likely, actually...
Matt
--
Matt Hellige matt@immute.net