lua-users home
lua-l archive

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


On Thu, Apr 10, 2014 at 8:51 AM, Coroutines <coroutines@gmail.com> wrote:
> tbl as x, y, z

OK, so this is multi-valued, tbl.x, tbl.y tbl.z.  A bit like the
'with' statement of old Pascal, except an expression.

x,y,z in tbl doesn't read too badly, I was just worried that there
were now two distinct meanings of the construct, depending on whether
a statement or an expression.

> [local] tbl as x, y, z -- a bit unclear, though

I'd agree, it's ass-backwards ;)