Hi,

Problem 1:

I'm trying to match shadow fact with multislot generated by undefined
array.
Java: int[] = null.

Jess 4.3 facts command displays fact in such a way:
(fact (multislot nil))

I'm trying to match this fact with rule:
(defrule r1
  (fact (multislot nil))
  =>
but without success.

How to match unassigned multislots in shadow facts ?


Problem 2:

Unassigned multislots generated by JESS or CLIPS can be matched with:
(defrule r1
  (fact (multislot))
  =>
In this case empty multifield is assigned to multislot (result of
(create$)).

How to maintain set of such rules which will work with normal and shadow
facts



Thanks in advance.


Miroslav Madecki, I/T specialist - RS/6000
   Internet: [EMAIL PROTECTED]
    Tel: +385-1-6308-156, Fax: +385-1-6111-119
    IBM Croatia, Lastovska 23, 10000 Zagreb, Croatia


---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to