AW: JESS: if rule

2004-08-26 Thread Lars Hübner
?add2) (eq ?add2 ?add3) (fact-start) => (assert fact-2))     Hope this will help U and still hope, that I’m not violating the Zen of JESS with that J. Lars Hübner

AW: JESS: Multislot problem

2004-08-17 Thread Lars Hübner
I think Chirak wrote: ?fact <-  (MAIN::findwherecontains productType CVBND ?fc) in the rule always stops the rule from activating. I do not understand why.   Is it possible it stops because you’ve forgotten to enter the ‘$’ in front of the ‘?fc’-multislot-variable?   Lars Hüb

AW: JESS: How to match Pattern in Facts

2004-08-09 Thread Lars Hübner
I think Calvin Pevee wrote: > (defrule > (adv-attribute radio-advertisement ?x) > => Maybe it is usefull, to give the rules a name??? I think Jason Morris wrote: > (defrule print-adv-attributes-facts > "This rule matches all adv-attributes facts and binds their id and attribute slots to vari

AW: JESS: How can I write this rule?

2004-06-21 Thread Lars Hübner
I think Jeremic Zoran wrote: > ERROR addStudentData function, JessException.getContext : while executing (concepts (ID ?cID) (prerequisite ?first ?one ?rest)) while executing (and (concepts (ID ?cID) (prerequisite ?first ?one ?rest)) (not (passed_concepts (ID ?one while executing (not (and