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