<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Folks,</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Using 4.0. Think I found a bug in
accumulate. The variables defined inside </span></font><strong><b><font
face="Times New Roman"><span lang=EN><source pattern></span></font></b></strong><span
lang=EN> cannot be recognized inside of other parts of accumulate (action, result)</span></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>f.e.</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>rule …</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> when </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> o : Date from accumulate ( </span></font></p>
<p class=MsoNormal style='margin-left:1.0in;text-indent:.5in'><font size=3
face="Times New Roman"><span lang=EN style='font-size:12.0pt'>Parent( h :
height ) ,</span></font></p>
<p class=MsoNormal style='margin-left:1.0in;text-indent:.5in'><font size=3
face="Times New Roman"><span lang=EN style='font-size:12.0pt'>init(;),</span></font></p>
<p class=MsoNormal style='margin-left:1.0in;text-indent:.5in'><font size=3
face="Times New Roman"><span lang=EN style='font-size:12.0pt'>action(;),</span></font></p>
<p class=MsoNormal style='margin-left:1.0in;text-indent:.5in'><font size=3
face="Times New Roman"><span lang=EN style='font-size:12.0pt'>reverse(),</span></font></p>
<p class=MsoNormal style='margin-left:1.0in;text-indent:.5in'><font size=3
face="Times New Roman"><span lang=EN style='font-size:12.0pt'>result( $h )</span></font></p>
<p class=MsoNormal style='margin-left:1.0in;text-indent:.5in'><font size=3
face="Times New Roman"><span lang=EN style='font-size:12.0pt'>)</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> then …</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>end</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>Produces : </span></font><font size=2 color=red
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:red'>$h cannot be resolved</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>Stack trace:</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'> </span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=red
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:red'> at org.drools.rule.Package.checkValidity(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>Package.java:408</span></font></u><font size=2
color=red face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:red'>)</span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=red
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:red'> at org.drools.common.AbstractRuleBase.addPackage(</span></font><u><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'>AbstractRuleBase.java:288</span></font></u><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:red'>)</span></font></p>
<p class=MsoNormal><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red'> at
com.lear.rules.RuleBaseFacade.getRuleBase(</span></font><u><font size=2
color=navy face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:navy'>RuleBaseFacade.java:46</span></font></u><font size=2 color=red
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:red'>)</span></font></p>
<p class=MsoNormal><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red'> </span></font></p>
<p class=MsoNormal><font size=2 color=red face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:red'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>-Sergey</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
</div>
</body>
</html>
<table><tr><td bgcolor=#ffffff><font color=#000000>**********************<br>
** LEGAL DISCLAIMER **<br>
**********************<br>
<br>
This E-mail message and any attachments may contain <br>
legally privileged, confidential or proprietary <br>
information. If you are not the intended recipient(s),<br>
or the employee or agent responsible for delivery of <br>
this message to the intended recipient(s), you are <br>
hereby notified that any dissemination, distribution <br>
or copying of this E-mail message is strictly <br>
prohibited. If you have received this message in <br>
error, please immediately notify the sender and <br>
delete this E-mail message from your computer.<br>
</font></td></tr></table>