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

RE: JESS: Multislot problem

2004-08-17 Thread Mehta, Chirag (IT)
Hello,   I have tried it with $?fc with no luck. I have eventually figured out that if I don't use ?fact but in its place (MAIN::findwherecontains productType CVBND ?fc) it works fine but I do not know why!   Chirag From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lars Hübne

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