On Jul 2, 2008, at 12:52 PM, seyed hossein wrote:

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.

The documentation for load-facts (http://www.jessrules.com/jess/docs/71/functions.html#load-facts ) is pretty clear, I think, that the file should contain the facts only; not "deffacts" or anything else. "batch" and "require" can load arbitrary Jess code, including deffacts.

So have you read the manual? It's worth reading the whole thing through at least once.





---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences, Sandia National Laboratories
PO Box 969, MS 9012, Livermore, CA 94550
http://www.jessrules.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