I think Cheng yong wrote: > I've read in the book (page: 98) that I should use the > test conditional element, if I want to fire a rule > based on the evaluation of a function. But this rule > will not be fired. >
Page 98 just *mentions* the "test" conditional element; it refers you to page 113-114, where test is described in detail. Read that section; it explains how you need to call "(reset)" before a rule like this will work, and why. Read 7.3.3 (pages 111-113) too -- or even first -- because the detailed discussion is in 7.3.3, and much of that applies to (test). --------------------------------------------------------- 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] --------------------------------------------------------------------
