I think Hector Urroz wrote:
> 
> Jess> (ppdefrule MAIN::clear-need-answer)
> "(defrule MAIN::clear-need-answer
>    \"Clear need-answer if question has been answered\"
>    ?r <- (MAIN::need-answer (ident ?id))
>    (not (MAIN::answer (ident ?id)))
>    (MAIN::answer (ident ?id))
>    =>
>    (printout t \"Retracting need-answer for question: \" ?id crlf)
>    (retract ?r))"
> 
> ... where does the "not" come from?


It's really there: it is inserted automatically when the rule is being
compiled. Resist your urge to "clean up" the need-answer facts;
they're not hurting anything and they help Jess keep track of what
it's doing.

---------------------------------------------------------
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://herzberg.ca.sandia.gov

--------------------------------------------------------------------
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