[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: if-else
- From: Francisco <xxleite@...>
- Date: Tue, 13 Apr 2010 11:41:46 -0300
very compact!
x=(vXSTX>vXSX or vXSTX>vXSY) and vXSX+vXSTX or vXSX
2010/4/12 Klaus Ripke <paul-lua@malete.org>:
> On Mon, Apr 12, 2010 at 05:24:44PM -0700, Sam Roberts wrote:
>> I was pretty happy when I finally found out that "x and y or z" was
>> essenttially "x ? y : z", maybe Cynthia is, too.
> ... but do not forget that "true and false or 22" is 22, not false.
> This may hurt especially where z must not be evaluated if x.
>
>