I think Yingying Chen wrote: > Thank you. Now it won't give this error. But when I execute the batch command, it > returns 0 instead of asking questions. What does that mean? >
The "0" is probably the return value of the (run) command, meaning no rules fired. The reason could be something as simple as setting the wrong module focus at program startup, an important but missing initial fact, or a semantic error on the LHS of the first rule that should fire. Try using "(watch all)", "(agenda)" "(list-focus-stack)," "(facts)" and other commands to watch what Jess is doing. You might want to try using these with the working version of the program from the book first, so you know what the results should be. --------------------------------------------------------- Ernest Friedman-Hill Science and Engineering PSEs 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] --------------------------------------------------------------------
