I think Yingying Chen wrote: > hi, Ernest > > I am writing some test rules for my project using the example of PC Repair Assistant > as you suggested and when I executed it, it gave this error message: Cannot Redefine > Deftemplate Main::answer... Could you please help me out? Thanks so much! >
This code as given won't give this error, unless you've got a previous, different definition of a deftemplate MAIN::answer. Jess won't let you change the definition of a template once a template by a given name exists -- although it's OK to repeat an identical definition. You can't redefine a template except by using (clear) first and erasing everything. --------------------------------------------------------- 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] --------------------------------------------------------------------
