lua-users home
lua-l archive

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


On Monday 08 January 2007 4:15 pm, Luiz Henrique de Figueiredo wrote:
> If assignment were an expression, what would be an interpretation for
> multiple assignment?

the multiple value, of course; so that it could be valid to write:

a,b,c = x,y,z = 1,2,3

but i guess the whole "assignments as expressions" opens the door to lots of 
ambiguous cases on the syntax.

-- 
Javier

Attachment: pgpgkNw5Kx6y0.pgp
Description: PGP signature