Hi Joe, I think Joe Kopena wrote: > > (defrule Rule2 > (list-item ?list ?item1) > (assoc ?x ?item1) > (not (and (list-item ?list ?item2) > (not (assoc ?x ?item2)) > )) > => > (printout t "//-- " ?x " is of-list " ?list crlf) > ) >
I suspect you're using a version of Jess prior to the just-released 6.1a3. In earlier versions of Jess, this rule won't be compiled correctly. Try 6.1a3, and you should find that your rules will work as you'd expect. --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 [EMAIL PROTECTED] PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 -------------------------------------------------------------------- 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] --------------------------------------------------------------------
