I think Balakrishnan Prasath wrote: > > (defrule cab-rule-1 > product (prod-ident ?A) <- product (prod-desc ?X) > technology (tech-ident ?B) <- technology (tech-desc ?Y) ...
I can't tell what you're trying to do; the rather fanciful syntax you're using is not at all like anything in the Jess language. I can tell you that patterns are themselves enclosed in parentheses, like (product (prod-desc ?X)) and that the "<-" operator is used to assign the jess.Fact object that represents a given fact to a variable (I can't tell at all what you're trying to make it do here by placing it between two patterns.) Both of these together account for why the rule won't compile. --------------------------------------------------------- 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] --------------------------------------------------------------------
