Again, I get a NullPointerException just with the code I've shown:
(deftemplate foo (slot bar))
(defrule r1
(not
(and
(foo (bar ?b))
?b <- (a b c)
)
)
=>
(printout t "r1 fired" crlf)
)
I am using Jess Version 6.1p8.
Henrique
---
[EMAIL PROTECTED] wrote:
I think Henrique Lopes Cardoso wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Hello,
I was trying to do something like this:
As is often the case, details matter. There's nothing wrong with the
code you've shown; if there's a problem, it's with some detail you've
omitted here. Show us the actual code -- and let us know what version
of Jess you're using, too, please. You shouldn't be able to get a
NullPointerException writing only Jess code, so this could be a bug.
---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov
--------------------------------------------------------------------
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]
--------------------------------------------------------------------
--------------------------------------------------------------------
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]
--------------------------------------------------------------------