[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Behavior of logical operators
- From: Eero Pajarre <epajarre@...>
- Date: Sun, 13 Mar 2011 23:49:10 +0200
On Sun, Mar 13, 2011 at 11:44 PM, Andre Naef <firstname.lastname@example.org> wrote:
> <commplex_condition> must be forced into boolean domain (true, false), as this is required for further processing by the program. Is there a more elegant way to do this?
In C/C++ I would write !!condition. In Lua "not not condition" ?