RHS arithmetic operators and comparators fail if the constant operands
aren't numbers. More specifically, a rule like this:
sp {test
(state <s> ^type state)
-->
(<s> ^will-appear 1
^will-fail (+ 1 a)}
will fire, but only the (<s> ^will-appear 1) wme will be added to the
state. The (<s> ^will-fail ?) wme is simply ignored.
An error is printed to console directly:
Error: non-number (a) passed to + function
This will appear in TestCLI, but not in the Java debugger. The error
reporting should be corrected so that the message appears in the Java debugger.
Original issue reported on code.google.com by joseph...@gmail.com on 23 Mar 2010 at 6:40
Original issue reported on code.google.com by
joseph...@gmail.com
on 23 Mar 2010 at 6:40