Rules whose first CE is a (not) CE won't fire unless the fact
(initial-fact) is on the fact-list. This fact is normally asserted by
doing a (reset).
I think Jordi Cardona Subiela wrote:
>
> Hi!
>
> I'm trying to fire this rule:
>
> (defrule final2
> (declare (salience 0))
> (not (cantar))
> =>
> (store RESULTAT Delegar)
> (printout t "final" crlf)
> )
>
> The fact (cantar) isn't in fact list, but, the rule don't fired.
> Why?
>
> Excuse my english, please.
>
> Thanks in advance
>
> Jordi.
>
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list. List problems? Notify [EMAIL PROTECTED]
> ---------------------------------------------------------------------
>
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9214 [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. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------