« Return to Thread: JESS: Cant get rule to run

Re: JESS: Cant get rule to run

by Ernest Friedman-Hill :: Rate this Message:

Reply to Author | View in Thread


On Jun 17, 2009, at 3:29 PM, Uiratan Cavalcante wrote:

> (defrule MASKModelTransformation
>   (ModelingProduct (product ArchitecturalModel) (ref  
> ArchitecturalModel&~nil))


I think you intended that second "ArchitecturalModel" to be a variable  
(?ArchitecturalModel). As it is, it's a symbol, and it definitely  
doesn't match the facts in working memory.

Using the JessDE to edit your code would help in this case; the syntax  
coloring would let you more easily spot errors like this.



---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences          Phone: (925) 294-2154
Sandia National Labs
PO Box 969, MS 9012                            ejfried@...
Livermore, CA 94550                             http://www.jessrules.com





--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users you@...'
in the BODY of a message to majordomo@..., NOT to the list
(use your own address!) List problems? Notify owner-jess-users@....
--------------------------------------------------------------------

 « Return to Thread: JESS: Cant get rule to run