I don't understand why fact 1 does not match in the following:
(watch activations facts)
(deftemplate BTransactions
(slot amount) (slot quantity)
(slot servicecode))
(defrule Jim_Rule "Jim Rule Comment"
(BTransactions
(amount ?amount)
(quantity ?quantity)
(servicecode ?servicecode)
)
(test(and(= ?servicecode 847314565)(= ?quantity 1)))
(test(or(= ?amount 4.17)))
=>
(printout t "Rule Matched" crlf)
)
(reset)
;Fact 1 No Match Why?
(assert (BTransactions
(quantity 1) (amount 4.19)(servicecode 847314565)))
; Fact 2 Match
(assert (BTransactions
(quantity 1) (amount 4.17) (servicecode 847314565)))
(run)
begin:vcard
fn:Jim Yates
n:Yates;Jim
email;internet:[EMAIL PROTECTED]
tel;work:214-244-4285
tel;cell:214-244-4285
x-mozilla-html:TRUE
version:2.1
end:vcard