Is there any way to send a fact from the fact list to a userfunction. I
would like to do something like this:

(deftemplate XXX (slot A)(slot B))

(defrule YYY
  ?p<-(XXX (A 2)(B 2))
  =>
  (userfunction ?p))

the assert and run commands are done from a java class. I have succeeded
to send a string but I would like to send the fact.

Thanks in advance for any response. / Hakan
---------------------------------------------------------------------
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