I have a query that generates an enumeration of facts. I am trying to get
the fact from the enumeration, but I am not sure what I am getting. the
code I am using is this:
(bind ?page (call ?e nextElement))
Then, in the next statement, I try to retract this fact:
(retract (call ?page fact 1)) ;copied this out of the manual. No idea what
"fact" method is.
Which gives me an error:
Message: No overloading of method 'findFactByID' in class jess.Rete I can
call with these arguments: (call (engine) findFactByID ?__fact-id).
If I try to just retract the ?page object with (retract ?page) I get a
ClassCastException while executing ( retract ?page )
What exactly is ?page ? If I print it out, it displays "<Fact-1>"
> ______________________________________________
> Matt Bishop - Engineering Manager, UpFront
>
> We're Growing - http://www.scenicsoft.com/jobs
---------------------------------------------------------------------
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]
---------------------------------------------------------------------