I think yuping he wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi, I have several questions.

Indeed, you do!

> 1.
> the number of parenthesis of command exit doesn't matter
>     (exit) ((exit)) (((exit))), etc... all works.

This happens because ((function)) is interpreted as (call
(function)). The "call" function then evaluates its first argument,
expecting a Java object to be returned. When it doesn't get a Java
object, there will be an error -- except, of course, if the nested
function is "exit", so that the JVM has stopped before the error
happens. But try ((reset)), for example, to see the error message. I
suppose you're right that it would make sense for this to be fixed so
that the side-effects don't occur.

> 2.
> (ppdeffunctin) is not working

Spelled correctly, it works as it always has for me --
"ppdeffunction". If there's a particular case whee it's broken, please
let me know.

> 3.
> (deftemplate factorial
> (declare (ordered TRUE)
> (backchain-reactive TRUE)))
> (backchain-reactive is not working)

You are right. Thanks.

> Jess is not awaring of this change.  I have to exit jess and re-enter jess
> to make it work.

Jess itself doesn't use a custom classloader of any kind. The JessDE
environment will, in fact, track changes in classes as you work, but
the Jess library itself, just like any other Java program, doesn't
magically pick up changes to class files at runtime.

> I realize that jess engine just echoes the second then so no exception is
> thrown. but still seems strange to me.

The same sort of thing can be done in other dialects of Lisp as well.


---------------------------------------------------------
Ernest Friedman-Hill  
Advanced Software 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