I am curious, what is the interpretation of and in this example? Is it AND of 4 items? or only 2?
Dusan Sormaz
At 11:25 AM 10/19/2005, you wrote:
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]
--------------------------------------------------------------------
* Duan ormaz, PhD, Associate Professor
* Ohio University
* Industrial and Manufacturing Systems Engineering Department
* 277 Stocker Center, Athens, OH 45701-2979
* phone: (740) 593-1545
* fax: (740) 593-0778
* e-mail: [EMAIL PROTECTED]
* url: http://www.ent.ohiou.edu/~sormaz
*********************************************************************