<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Function call in LHS</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I am new to Drools. I have downloaded and installed Drools 4.0.7.</FONT>

<BR><FONT SIZE=2 FACE="Arial">After having read the documentation, I saw that it is possible to create function in the .drl file.</FONT>

<BR><FONT SIZE=2 FACE="Arial">I succeed in creating a function, calling it in the LHS with eval() instruction or in the RHS.</FONT>

<BR><FONT SIZE=2 FACE="Arial">But, is it possible to call a function in the LHS out of an eval() ? For example, I would like to use</FONT>

<BR><FONT SIZE=2 FACE="Arial">a pattern such as : </FONT>

<BR><FONT SIZE=2 FACE="Arial">$tmp : MyClass( name == MyFunction() )</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks in advance.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Regards.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">JB</FONT>
</P>

</BODY>
</HTML>