lua-users home
lua-l archive

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


On Tue, Jan 12, 2010 at 7:29 PM, Tony Finch <dot@dotat.at> wrote:
> "in" blocks do not work as a multiple assignment.

t = {}
in t do x = 1; y = 2; z = 3 end
=> t == {x=1,y=2,z=3}

Looks like field assignment to me....I'm not meaning multiple in the
x,y = 1,2 sense.

Point is, people will expect this to be pretty optimal code.