I don't know what version of Jess you're using here, but the current production version (7.0p2) says

Jess reported an error in routine Group.add.
  Message: CE can't be used in logical: test.

While the current development version (7.1b1) accepts this and executes it correctly. Support for "test" inside of "logical" is a new feature.


On Nov 30, 2007, at 5:33 PM, Radnus wrote:


Whenever I use "test" inside a "logical" Rule on the LHS, I get the exception
error:

Unexpected exception:
jess.NodeJoin cannot be cast to jess.Node2

How can I avoid this?

(ie)

(defrule xyz
(logical
..
...
  (test (< ?dt_x ?y))
);; Logical
=>
(
.....
)


--
View this message in context: http://www.nabble.com/jess.NodeJoin- cannot-be-cast-tf4925086.html#a14095541
Sent from the Jess mailing list archive at Nabble.com.

--------------------------------------------------------------------
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 owner-jess- [EMAIL PROTECTED]
--------------------------------------------------------------------

---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550                 http://www.jessrules.com

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to