Title: Multislot with single value
Hello,
I'm having a slight problem. I have this template:
(deftemplate grouped-facts
facts that have been grouped
(slot partitionname)
(slot partitionvalue)
(slot summationvalue)
(multislot factcollection))
Where factcollection is a collection of
)
(summationvalue ?mv)
(partitionvalue ?c)
(factcollection $?fc))
...
-Mitch
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Mehta, Chirag
(IT)Sent: Monday, August 16, 2004 9:53 AMTo:
[EMAIL PROTECTED]Subject: JESS: Multislot
I think that Chirang wrote:
I need to check any of the facts have a particular slot value in the
factcollection.
Hi Chirang,
Two things:
1) You need to add a $ to the LHS pattern when matching a multifield.
So, you have to write: (factcollection $?fc) Make sure that you drop the $
when using the