Did you try the
(break)http://www.jessrules.com/jess/docs/71/functions.html#breakfunction?
Arguments:NoneReturns:N/ADescription: Immediately exit any enclosing loop
or control scope. Can be used inside of
forhttp://www.jessrules.com/jess/docs/71/functions.html#for,
while
Hi,
Maybe this helps you in understanding:
http://www.jessrules.com/jess/docs/71/rules.html#not_ce
Note that a not pattern cannot define any variables that are used in
subsequent patterns (since a not pattern does not match any facts, it
cannot be used to define the values of any variables!) You