[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Any thoughts on indexing ...?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 9 Apr 2008 05:00:06 -0300
> How do the lua syntax rules lead to (...)[i] indexing the first
> argument? I don't follow the meaning of (...).
Any expression that results in a list of expressions, such as function call
or ..., can be enclosed in parenthese and the result is the first expression.
http://www.lua.org/manual/5.1/manual.html#2.5