Hi,

After a whole morning struggling with what appeared to be a bug in my
application, I managed to create a simple example:

;---
(deftemplate foo
   (slot bar) )

(defrule r
   (exists (foo))
   => )

(reset)
(assert (foo))
(printout t (run) crlf)
(modify (fact-id 1) (bar 123))
(printout t (run) crlf)
;---

The rule fires in both runs. Is this the intended behavior? Is there a
way to prevent the rule from firing in the second run?

Henrique



--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to