(defrule goal-reached "" (act (a ?x) (b ?y) ?n <- (target (a ?x) (b ?y)) => (retract ?n) )
what i am trying to do to fire the rule when there is a act fact that matches the target fact, and then retract the target but i keep getting "expected =>" when parsing my file,
can anyone help?
thanks very much
Jeff
-------------------------------------------------------------------- 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] --------------------------------------------------------------------
