Hello,
The code below works fine in JESS 6.0a6, but I cannot use a non-stable
release.
I'm looking into fact-slot-value as a solution. I attempted to use the
code below, which are from another users message. Basically this returns a
"No overloading of method 'findFactByID'" error.
I also tried Ernest Friedman-Hill's scriptlib.clp fix (i.e. at this page.
http://www.mail-archive.com/[email protected]/msg02596.html)
This returns an "Not an external address: "<Fact-2>"" error, which leads
me to believe this fix was aimed at 6.0a* users.
Is this a bug with JESS 5.2, or am I doing something wrong?
Thanks,
Ryan
---clips file
(deftemplate type-module
(slot module)
(slot sorte)
)
(defrule init
=>
(load-facts "y.dat")
)
(defrule blah
?type-module <- (type-module (module FXINT))
=>
(printout t (fact-slot-value ?type-module sorte) crlf)
)
-----data file (y.dat)
(type-module (module FXINT) (sorte CP))
(type-module (module FXINT) (sorte CPCP))
---------------------------------------------------------------------
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]
---------------------------------------------------------------------