On Mar 14, 2007, at 11:33 AM, David Corsar wrote:

Note the test to check that lower-legs isn't already there, if the test is not there the rule will run forever; maybe Ernest can provide a way to change the value without having the resulting modified fact retrigger the rule.

Nothing you can do in Jess 6, really; that's why Jess 7 added the "no- loop" rule declaration. Add "(declare (no-loop TRUE))" to a rule in Jess 7, and no modifies on the RHS will cause the rule to reactivate.



---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
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]
--------------------------------------------------------------------

Reply via email to