Hi, I have just doen the following at the JESS prompt:
(deftemplate address (slot suburb) (slot postcode) ) (assert (address (suburb wembley) (postcode 6014))) (assert (address (suburb floreat) (postcode 6014)) ) (assert (address (suburb jolimont) (postcode 6014)) ) (assert (address (suburb "osborne park") (postcode 6017)) ) (defrule search-pc (address (postcode 6017) (suburb ?s) ) => (store RESULT (?s) ) ) which all worked fine, but when I (run) it I get an exception. Am I using the "store" command incorrectly? I used the p. 310 of the textbook to get an example of "store". Any help is appreciated. Cheers, Matt -------------------------------------------------------------------- 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] --------------------------------------------------------------------
