Re: JESS: rete reset exception

2004-10-30 Thread ejfried
I think bhaskar yallala wrote: > I am getting this exception while calling rete.reset() after executing the rules! > > > > Jess reported an error in routine DefinstanceList.updateShadowFact. > Message: Object not a definstance: ... > > I over rode the hashCode method. Is

Re: JESS: unbound variable in LHS

2004-10-30 Thread ejfried
I think josefK wrote: > > Why can't the assigned variable be used?, and in what > sense is ?role-id 'unbound?' ... > (bind ?role-id (assert (role (name HAMLET > > (defrule R2 > (speech (text ?x IS ANGRY)) > ;;;(test (eq ?x (fact-slot-value ?role-id name))) ;;;fails!:unbound var ?role-id

Re: JESS: Problem with fact-slot-value

2004-10-30 Thread ejfried
I think =?iso-8859-1?Q?F=E9lix_G=F3mez_Cordero?= wrote: > The rules and the functions are (I have the problem with the class-id > function): > > (if (eq (fact-slot-value (fact-id ?fact) parent-id) FALSE) then > (return ?fact) > else > ( > (bind ?slot (fact-slot-value (fact-id ?fact) parent-id)) >

Re: JESS: Problems with function test in version 70a2

2004-10-30 Thread ejfried
I think Sven Siorpaes wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hello, > > I encountered a problem with the test function > used in a rule within a module. I can confirm that this is a bug in 7.0a2. I've already fixed it and 7.0a3 will contain the patch.