HI,

i am storing a fact-id in the slot of another fact.

r.executeCommand("(deftemplate student (slot name))");
r.executeCommand("(deftemplate class (slot
students))");

Value v  = r.executeCommand("(assert (student (name
John)))");

r.executeCommand("(assert (class (students" +  v +
")))");

Then when i see the type of the value in the slot
students in fact class it gives ATOM.

But when i do the same thing at the jess prompt

(deftemplate student
 (slot name))

(deftemplate class
 (slot students))

(bind ?x (assert (student (name John))))
(assert (class (students ?x)))

and then i look at the type of the value in the slot
students in the class fact it gives FACT.

and this is what i want. How do i specify a slot to
contain value of type FACT in java?

thanks in advance.
acme.

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.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]
--------------------------------------------------------------------

Reply via email to