(Perhaps) easy solution:
(defrule p1
?f <- (fact (number ?n1)(text ?t))
(and
(not (fact (number ?n2)(text ?)))
(test (< ?n2 ?n1))
)
=>
(retract ?f)
(printout t ?t)
)
I did not test it, but logically it should work. It retracts all your facts.
---------------------------------------------------------------------
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]
---------------------------------------------------------------------