lua-users home
lua-l archive

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


>Lua 4.0 quite happily accepts
>
>local a b = 1

So does Lua 3.2 and all others before it since the introduction of "local".

>This looks like it should be illegal.

Of course "local a b = 1" is the same thing as "local a; b=1". Would you
say that
	local a
	b=1
is illegal too?
--lhf