Hi,
I have the following Jess code:
---------------
(deftemplate mother-of (slot mother) (multislot
child))
(deffacts family
(mother-of (mother "Anna") (child "Jess" "Jenna"
"Tom"))
)
(reset)
(facts)
(bind ?arrayList (new java.util.ArrayList))
(defrule r1
(mother-of (mother "Anna") (child $?child))
=>
(?arrayList add $?child)
)
(store temp ?arrayList)
(run)
--------------
I want to get the multislot values into an arraylist
object to be able to retrieve from java.
I get an error when I run it.
Thanks in advance,
Scott
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------