Hi,
I have tried the straightforward example below. I define two simple
deftemplates and a rule that compares their slots, which are assumed to
be numeric. Then, I incidentally assert a fact on which I do not define
a value for a slot.
When the rule is evaluated (after the second assertion), I
On Jul 3, 2008, at 1:29 PM, Henrique Lopes Cardoso wrote:
Now, I understand the error. But maybe Jess should be nicer by
noticing
that if the comparison cannot be made, then it should simply not fire
the rule (quietly).
In general, you can just use a more appropriate default for the
PM
To: jess-users@sandia.gov
Subject: JESS: Rule comparing slot values that can be omitted
Hi,
I have tried the straightforward example below. I define two simple
deftemplates and a rule that compares their slots, which are assumed to
be numeric. Then, I incidentally assert a fact on which I do