Hello,

I'm reading a paper on Jess and the following code is given:

(defrule "rule 1"  ; q1
  ?cs <- (CreditScore {ProgramGroup == "PG" &&
                      linkType == "Lt"}) ;;q2
  ?cs <- (CreditScore{cs >= 100})
=>
  (modify ?cs (score (- (score 3)))) ; q3
)

Even if not told, CreditScore seems to be an unordered fact. I found no
such a syntax either on the book "Jess in action" or on the Jess web site
--------------------------------------------------------------------
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