[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Table assignments in varargs function call
- From: Gavin Wraith <gavin@...>
- Date: Tue, 20 Nov 2001 22:55:51 +0000 (GMT)
On Tue 20 Nov, Peter Loveday wrote:
> a = xyzzy({ A = 1, B = 2})
>
> But as these calls are for end-user (ie non-programmer) usage,
> I really want to reduce the confusion and clutter of the extra
> braces if possible.
Just leave out the parentheses:
a = xyzzy { A = 1, B = 2}
Is that not good enough?
--
Gavin Wraith (gavin@wraith.u-net.com)
Home page: http://www.wraith.u-net.com/