Hello,

Is it possible to assert a need- fact with the definstance function? For
example I have made a deftemplate have, associated with the Java class Have
and with the do-backward-chaining function I've made also a deftemplate
need-have. Now I would like to do this:

(bind ?needhave (new Have))
(definstance need-have ?needhave dynamic)

just as I would create a have fact like:

(bind ?have (new Have))
(definstance have ?have dynamic)

Jess gives an error message when I try the first thing :-(

Bye,
Sander


--------------------------------------------------------------------
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