Hi Wiiliam/Peter, This bug was reported against 6.1a2 by Scott Trackman and was fixed in 6.1a3. The workaround if you can't upgrade is to specify the module names explicitly:
(save-facts "animal.dat" MAIN::node MAIN::next-gensym-idx)) I think Wiiliam Blake wrote: > > I just an the stock animal.clp example that ships with > Jess6.0 and noticed odd behavior. The rule runs just > fine, but when I answer no to "try again", it doesn't > correctly save the facts I've added. It ends up wiping > the file so that it is empty. > > if I change: > > (save-facts "animal.dat" node next-gensym-idx)) > > to > > (save-facts "animal.dat")) > > it correctly saves the file. > > > peter > --------------------------------------------------------- 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] --------------------------------------------------------------------