Re: JESS: [EXTERNAL] nested foreach to return from the inner loop

2013-05-23 Thread Jason Morris
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

Re: JESS: [EXTERNAL] nested or-and-not

2011-12-21 Thread Lode Hoste
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