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

Re: JESS: Cant get rule to run

by Uiratan Cavalcante :: Rate this Message:

Reply to Author | View in Thread

Yeah, that´s it.

Whens these mistakes happens, its time to take a coffee! =)

Thanks, man.


2009/6/17 Ernest Friedman-Hill <ejfried@...>

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.




--
Uiratan Cavalcante              +55 (98) 8138-9212
TI/TRT-16-MA    (Manhã)     +55 (98) 2109-9430    http://www.trt16.gov.br
GESEC/UFMA   (Tarde)      +55 (98) 2109-8297    http://gesec.deinf.ufma.br
São Luís - MA - Brazil

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