I think Jango wrote:

> Whilst testing animal, the example JESS program, the data file was lost.

Jess 6.0 introduced modules, but the (save-facts) command that the
animals example uses to save its data file wasn't made
module-aware. In Jess 6.1, this oversight is fixed. To make things
work in 6.0, however, you need to edit animal.clp slightly. Find the
call to save-facts, and preface the final two argument with the module
qualifier "MAIN::" like this:

   (save-facts "examples/animal.dat" MAIN::node MAIN::next-gensym-idx))




---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

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