Dear Jess users,
This rule will result in a recursion if I execute the following statements in sequence:
Jess> (defrule _1.5a ?fact <- (e5crt ?val&~0&~1&~8) => (retract ?fact) (assert (e5crt
2)))
Jess> (reset)
Jess> (assert (e5crt 9))
Jess> (run)
.... recursion follows!
However, if I remove the (retract ?fact) from the rule above, the rule can fire
properly.
What is the reason which results in the recursion? Please enlighten me. Thanks.
--
Regards,
Jerry
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------