Re: Ternary operator patch
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Ternary operator patch
- From: steve donovan <steve.j.donovan@...>
- Date: 2010年9月16日 09:50:13 +0200
On Thu, Sep 16, 2010 at 9:47 AM, Benoit Germain <bgermain@ubisoft.fr> wrote:
> Would this be easily understood?
> a,b = choose(condition,(1,2),(3,4))
Well, only if you know Python ;)
There's no obvious way to write that in Lua...
- References:
- Re: Ternary operator patch, steve donovan
- Re: Ternary operator patch, Henk Boom
- Re: Ternary operator patch, steve donovan
- Re: Ternary operator patch, Geoff Leyland
- Re: Ternary operator patch, steve donovan
- Re: Ternary operator patch, Miles Bader
- Re: Ternary operator patch, David Kastrup
- Re: Ternary operator patch, Miles Bader
- Re: Ternary operator patch, David Kastrup
- Re: Ternary operator patch, Jonathan Castello
- Re: Ternary operator patch, Roberto Ierusalimschy
- Re: Ternary operator patch, Alexander Gladysh
- Re: Ternary operator patch, steve donovan
- RE: Ternary operator patch, Benoit Germain