Consider the following simple program ...

(defrule r1
  (f a)
=>
  (printout t OK crlf)
)

Then the following actions are taken with Jess50a5 ....

Jess> (batch e:/alexis.eller/resetBug.clp)
TRUE
Jess> (watch all)
TRUE
Jess> (assert (f a))
 ==> f-0 (f a)
==> Activation: r1 :  f-0
<Fact-0>
Jess> (reset)
 ==> f-0 (initial-fact)
TRUE
Jess> (agenda)
[Activation: r1  f-0 ; time=2 ; salience=0]
For a total of 1 activations.
Jess>

The fact f-0 was not retracted on the reset and the agenda was not cleared.

Bob.

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to