Hi, all,
Now I'm using JESS. I have a question, and I'll show it with an example.
Here are two rules: Rule 1: e1 ^ e2 => printout e1 and e2
happened Rule 2: e3 => printout e3 happend when e3 comes, I
do the following: 1.(assert e3) 2. (run) rule 2 is fired, and e3 is only for
rule 2, and I
ere a way to tell whether there is a partial match? Thanks
a lot for your patience!
regard,
guoli
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 19, 2004 11:28 AM
Subject: Re: JESS: about partial match of a rule
> I
Hi, All,
I have a problem. Now I have a rule like :
(defrule rule1 (or (My_Fact_1 (name_1 ?x)) (My_Fact_2 (name_2
?y)...) )
=> (printout t ?x ?y crlf) )
If only My_Fact_1 is inserted into the engine, I want to know the value of
?x. when I run this rule, it will throw exceptions indi