Hi all
I'm trying to acess a fact already asserted and I've tried
some ways but the used rule only skips.
This is a part of the code:
(defrule onerule
=>
command
command
(assert (important_fact ?x)) ;?x is a list
(assert (a_fact))
)
(defrule sec_rule
?aux <- (a_fact)
=>
command
command
(assert (b_fact))
)
(defrule thi_rule ; this rule is not firing
?aux <- (b_fact)
?aux1 <- (important_fact ?x)
=>
command
command
(printout t ?x) ; I need to access in this rule the
data in ?x
)
Thanks in advance
and thanks for the other answers you've given.
Roberval
---
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - I gratis!
http://antipopup.uol.com.br
--------------------------------------------------------------------
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]
--------------------------------------------------------------------