[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Coroutine support in 4.1 / IPC mechanisms
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 19 Apr 2001 22:06:06 -0300 (EST)
>> (a)=3; (print or write)(9)
>How is that going to work? Will the ; be required in Lua 4.1?
Yes, in this case the ';' will be required to remove the ambiguity.
I'm glad that ';' will now be useful (but not always required)!
> (a or b).c = 1
> a,(b),c = 1,2,3
These will be valid in 4.1.
>And here it may be useful:
> f(a, b, (g(1)))
>which will _always_ pass 3 args to f because the () around the g call
>will generate a single r-value.
This will not be the semantics in 4.1.