Hi,
How is the procedure of recalling facts from other Jess classes (possibly
from a Jess database) into a Jess class containing rules/functions? I tried
the load-facts function, as shown bellow, but it seems not working.
Thanks

(deftemplate desk
    (slot location))

(load-facts "c:/Documents and Settings/...workspace.../dataInput2.clp")

;; referring to the dataInput2.clp file containing:
;
;               (deffacts my-facts
;                     (desk (location room2)))

(defrule my-desk
    (desk {location == room2})
    =>
    (printout t "This is my desk" crlf))


(run)

Reply via email to