Dear jess users,

suppose the following jess program is executed,
----------------------------


(defglobal ?*gg* = 1)

(defrule g_rule_1
   (test (eq ?*gg* 1))
=>
   (bind  ?*gg* 2)
   (printout t "gg="  ?*gg* crlf)
)

(defrule g_rule_2
   (test (eq ?*gg* 2))
=>
   (bind  ?*gg* 3)
   (printout t "gg=" ?*gg* crlf)
)

---------------------------------------
I expect that both rule g_rule_1 and g_rule_2 would fire. But
only rule g_rule_1 is fired. Could anybody explain this?

Thanks in advance,

Ning


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
---------------------------------------------------------------------
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]
---------------------------------------------------------------------

Reply via email to