<br>2011/8/19 Raf <span dir="ltr"><<a href="mailto:r.ventaglio@gmail.com">r.ventaglio@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You must not add the parenthesis after <i>not.</i></blockquote><div><br>This is not correct. You may even <i>have </i>to use parentheses unless the negated condition is a conjunction or disjunction. The omission of the parentheses is tolerated when the argument is a single Pattern.<br>
-W<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><i><br></i></div><div>Try this:</div><div class="im"><div><br></div><div><font face="'courier new', monospace">rule "Flag missing Foos with values"<br>
when<br> not Foo(stringProp=="blah", intProp==5)<br>then<br> System.err.println("A proper foo does not exist");<br>end</font></div><div><br></div></div><div>Bye</div><div><i>Raf</i><br></div></blockquote>
</div>