Hello,
My question is about if it is possible to assign the same class of
objects several times in the same rule. I mean, let say i have a class
"Area" and I have multiple facts containing objects of the class "Area"
in the working memory. Can I do something like this:
(defrule
(Area {name=="area1"}(OBJECT ?Area1)
(Area {name=="area2"}(OBJECT ?Area2)
...
and then I can work with these objects. I tested and is not working. It
seems that jess refuses to assign two times the same class in the rule.
Of course I had import my class "Area" to jess, it can recognize it. Can
you help me about this?
Thanks,
Joao Mourao
--------------------------------------------
Unclassified email
begin:vcard
fn;quoted-printable:Jo=C3=A3o Mour=C3=A3o
n;quoted-printable;quoted-printable:Mour=C3=A3o;Jo=C3=A3o
org:Thales;Above Water Systems
adr:;;;Hengelo;;;Netherlands
email;internet:[EMAIL PROTECTED]
title:THALES NETHERLANDS B.V.
tel;work:2640
note:-unclassified mail-
version:2.1
end:vcard