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)
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
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
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
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
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