Just wondered what's wrong with this? I have a deftemplate and then I
assert a fact (f-1) which is below. Then I have a defrule to modify the
fact but it doesn't do anything!
f-1 (MAIN::farming-cattle (management_tag "111") (official_tag "222")
(breed "AAX") (sex "female") (dob "2006-10-10") (age 4) (comment "")
(location "cloffrickford") (weight 400) (duration 0))
(defrule aax
?aax <- (farming-cattle (management_tag ?m)(official_tag ?o)(breed
"AAX")(sex ?s)(dob ?dob)(age ?a)(comment ?c)(location ?l)(weight
?w)(duration 0))
=>
(modify ?aax (duration 5)))
I get no errors but duration stays at 0. Thanks.
--------------------------------------------------------------------
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]
--------------------------------------------------------------------