[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Multiple values returned or vararg expression in numeric for loop
- From: Egor Skriptunoff <egor.skriptunoff@...>
- Date: Fri, 14 Sep 2012 14:32:11 +0400
On 9/14/12, Martijn van Buul <martijn.van.buul@ellips.nl> wrote:
> On 9/14/2012 9:59 AM, Egor Skriptunoff wrote:
>> On 9/14/12, Coda Highland <chighland@gmail.com> wrote:
>>> If Lua patterns were to hold, the syntax would be
>>> "for <variable> = <exprlist> do"
>>> rather than
>>> "for <variable> = <expr>, <expr>[, <expr>] do".
>>> /s/ Adam
>> Why Lua uses the latter syntax, but not the former?
> Because. I couldn't tell you. There's probably a reason for it.
Many people disagrees me, but nobody knows the reason.
It is funny. "Believers vs. Thinkers" dialogue type :-)