Re: [rules-users] Boolean logic fail?

2010-06-05 Thread Mark Proctor
'or' is a conditional element to be used between patterns. '||' is an infix operator to be used in field constraints inside of patterns. Mark On 05/06/2010 00:23, Matthew Runo wrote: Hello folks - We noticed something weird today, and was hopeing that someone here might be able to explain

[rules-users] Boolean logic fail?

2010-06-04 Thread Matthew Runo
Hello folks - We noticed something weird today, and was hopeing that someone here might be able to explain it for us a bit.. Here's the rule we had: eval( -1 0 or 8 1 or 182 0 or 0 == 0); This was failing, but doesn't it seem like it should work? To get it to work, we tried this: eval(