Yay!! I was just looking into moving on to the trunk. Unfortunately we have a code freeze tomorrow, so it might have to wait a few days.<br><br>Yes, apparently I made a typo when I typed in the example (trying to simplify it, argh!). And while I said it was sensitive to whitespace, the whitespace I actually meant was a line break. Here is the actual rule, which will compile without a line break in the predicate. However, if I insert a line break at the &amp;&amp;,&nbsp; it throws:
<br><br>rule &quot;snapshot&quot;<br>no-loop true<br>&nbsp;&nbsp;&nbsp; when<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; snap : Scalper120Values(id:uniqueId,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shares:sharesFilled,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; buy:buyShares,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sell:sellShares -&gt;((shares.intValue() &lt; (1/780) * (
buy.intValue() + sell.intValue()))&amp;&amp;((buy.intValue() + sell.intValue()) &gt; 500000)));<br>&nbsp;&nbsp;&nbsp; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(&quot;blah&quot;);<br>end<br><br><br><div><span class="gmail_quote">On 2/8/07, <b class="gmail_sendername">
Edson Tirelli</b> &lt;<a href="mailto:tirelli@post.com">tirelli@post.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>&nbsp;&nbsp; Justine,<br><br>&nbsp;&nbsp; It shouldn&#39;t be space sensitive. Where are you inserting the space<br>that is giving you the error? I see your line bellow is missing a &#39;)&#39; in<br>the end, but maybe it was a mistake when you wrote the e-mail... so,
<br>could you please clarify?<br><br>&nbsp;&nbsp; In trunk the syntax was simplified to almost what you asked for. In<br>trunk you can write:<br><br></blockquote></div><br>