[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: I'm totally baffled.
- From: Ben Sunshine-Hill <sneftel@...>
- Date: Fri, 12 Nov 2004 02:10:53 -0800
> What is this construction??
>
> local t,foo={},1
It is almost equivalent (some scoping differences) to:
local t = {}
local foo = 1
The "local" statement with assignment follows the same rules as
regular assignment, namely that you assign a list of values to a list
of variables. See the ref-manual, sections 2.4.3 and 2.4.7.
Ben