Ernest,

is it overlook or allowed?

I though that each independent variable has to have distinct name within a rule. Your fact ?t should be different from template ?t if templates in a multislot are symbols.

Dusan Sormaz

At 12:11 PM 9/7/2007, you wrote:
Same idea:

(defrule removeTransforms
    ?t <- (transform (source ?id) (template ?t))
    (not (source (id ?id)(templates $? ?t $?))
=>
    (retract ?t))


*********************************************************************
* Dusan Sormaz, PhD, Associate Professor
* Ohio University
* Industrial and Manufacturing Systems Engineering Department
* 277 Stocker Center, Athens, OH 45701-2979
* phone: (740) 593-1545
* fax:   (740) 593-0778
* e-mail: [EMAIL PROTECTED]
* url: <http://www.ent.ohiou.edu/~sormaz>http://www.ent.ohiou.edu/~sormaz
*********************************************************************

Reply via email to