I think =?iso-8859-1?q?Moderator?= wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> I am using jess 6.1p2 and have a rule

The syntax of this rule is horribly botched; apparently, Jess tried
and succeeded in making sense of it, but then got a runtime error.
> 
> (defrule

1) Name of rule is missing.

> (?problem <- (problem

2) First open parenthesis is superfluous

>   subgoals $?a ?c $?b))

3) Don't know if "subgoals" is supposed to be a multislot name?

> =>
> (modify ?problem
>  (subgoals $?a $?b))
> 

You were probably trying for something like

(deftemplate problem (multislot subgoals))
(defrule my-rule
  ?problem <- (problem (subgoals $?a ?c $?b))
   =>
  (modify ?problem (subgoals $?a $?b)))



---------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to