JESS: Multislot problem

2004-08-17 Thread Mehta, Chirag (IT)
Title: Multislot problem Hello, I am having a slight problem which is really really bugging me: I have this rule: (defrule bondMVMaxPCOutstanding::calcifnc (declare (auto-focus TRUE)) (rulesfired (rules bondMVMaxPCOutstanding)) ?b - (grouped-facts (partitionname cusip)

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 youve forgotten to enter the $ in front of the ?fc-multislot-variable? Lars Hübner FH

RE: JESS: Multislot problem

2004-08-17 Thread Mehta, Chirag (IT)
HübnerSent: 17 August 2004 14:41To: [EMAIL PROTECTED]Subject: AW: JESS: Multislot problem 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

RE: JESS: Multislot problem

2004-08-17 Thread Jason Morris
I think that Chirag wrote: ?fact - (MAIN::findwherecontains productType CVBND ?fc) in the rule always stops the rule from activating. Hi Chirag, You might be violating the Zen of Jess http://herzberg.ca.sandia.gov/jess/zen.shtml. In your code ?fact - (MAIN::findwherecontains productType

JESS: multislot problem

2004-06-06 Thread Jeremic Zoran
How can I solve the following problem: LHS is true If all elements of multislot are also contained in some list of facts. For example: (deftemplate topic_to_learn(slot name)(slot ID)(multislot prerequisites)) In the following example the rule should be fired only when all prerequisites

Re: JESS: multislot problem

2004-06-06 Thread ejfried
I think Jeremic Zoran wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] How can I solve the following problem: LHS is true If all elements of multislot are also contained in some list of facts. For example: (deftemplate topic_to_learn (slot name) (slot ID) (multislot