Hi, I'll first describe what I wish to do.
I have a template of the form (deftemplate person (slot name) (multislot friend) ) And I have a rule of the form (defrule allow (person (slot ?name) (friend $?friend)) ; No friend among $?friend should be asserted as (dislike ?friend) ; For example, lets say I have asserted (dislike jojo), no person who has jojo as friend should be allowed => (assert (allow ?name)) ) How do I do this? I hope I have made my problem clear. Thank you. Neha. -- View this message in context: http://www.nabble.com/Check-assertion-of-multi-slot-values-in-LHS-of-rule-tp22385397p22385397.html Sent from the Jess mailing list archive at Nabble.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]. --------------------------------------------------------------------
