Thank you, the problem is solved. It was my mistake.
Regards Adam -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Adam Malik Sent: Thursday, April 15, 2010 10:12 PM To: [email protected] Subject: RE: JESS: Problem: Can't retract facts. Thank you. Now the rule is firing. I thought that JESS automatically calls (run) after the insertion of new facts. But if I type (facts) I still can see all the facts in the working memory. Why? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ernest Friedman-Hill Sent: Thursday, April 15, 2010 9:37 PM To: jess-users Subject: Re: JESS: Problem: Can't retract facts. Rules are "activated" by facts, but they don't actually fire until a call to "run". Looks like everything is fine -- the rule is being activated for each fact that needs deleting. When you type "(run)", the facts will all disappear. On Apr 15, 2010, at 3:27 PM, Adam Malik wrote: > Hi Mr. Friedman-Hill! > > I'm using (watch all). I'm sorry, it seems that the rule is not > firing. The > output is: > > Jess> (assert (face)) > ==> f-72 (MAIN::face (length nil) (width nil) (roughness nil)) > ==> Activation: MAIN::remove-end-mill-non-indexable : f-72, f-40 > ==> Activation: MAIN::remove-end-mill-non-indexable : f-72, f-1 > ==> Activation: MAIN::remove-end-mill-non-indexable : f-72, f-41 > ==> Activation: MAIN::remove-end-mill-non-indexable : f-72, f-2 > ==> Activation: MAIN::remove-end-mill-non-indexable : f-72, f-42 > --------------------------------------------------------- Ernest Friedman-Hill Informatics & Decision Sciences Phone: (925) 294-2154 Sandia National Labs PO Box 969, MS 9012 [email protected] Livermore, CA 94550 http://www.jessrules.com -------------------------------------------------------------------- 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]. -------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.801 / Virus Database: 271.1.1/2810 - Release Date: 04/15/10 08:31:00 -------------------------------------------------------------------- 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]. -------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.801 / Virus Database: 271.1.1/2813 - Release Date: 04/15/10 20:31:00 -------------------------------------------------------------------- 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]. --------------------------------------------------------------------
