Hi David,
This one is listed in the FAQ under "Are there any known bugs in
Jess?", currently the third bullet out of
four. http://herzberg.ca.sandia.gov/jess/FAQ.html .
I think David Golby wrote:
>
> I think there is a problem with the reset command in Jess. Invoking the
> reset function twice in Jess5.05a causes the engine to fire twice:
>
> File: hello.clp:
> ----------------------------------------------------------
> (deffacts hello-fact
>
> (hello world) )
>
>
> (defrule testRule
>
> (hello ?var)
>
> =>
>
> (printout t "Hello " ?var crlf))
>
> (reset)
> (reset)
> (run)
> ----------------------------------------------------------
>
> Running the file produces:
>
> Jess, the Java Expert System Shell
> Copyright (C) 1998 E.J. Friedman Hill and the Sandia Corporation
> Jess Version 5.0a5 5/27/99
>
> Jess> (batch hello.clp)
> Hello world
> Hello world
> 2
> Jess>
>
> This behaviour doesn't appear in Jess4.4.
>
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list. List problems? Notify [EMAIL PROTECTED]
> ---------------------------------------------------------------------
>
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9214 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------