Hi All,

Is it possible to access a fact with out matching it in the If part?

lets say i have a Time fact. Now when ever i fire a rule i need to print
when it is fired.

(deftemplate time (slot time))

(defrule test1 
        ......
        =>
        (printout t "Rule fired at " time crlf)
)

some thing like that. 

I do not want to pattern match that time fact on the LHS and use it on the
RHS, as every time the time value changes, the rule gets fired which is not
desirable.

Any suggestions?

Thanks in Advance
Satish.

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