JESS: defrule for multisot

2006-01-18 Thread Emmanuel Shyllon
Hi, Given the following: Rete engine = new Rete (); Deftemplate d = new Deftemplate(Aus-Address, A Aus-Address, engine); d.addSlot(state-territ-name, Funcall.NIL, STRING); d.addSlot(minPostCode, Funcall.NIL, STRING); d.addSlot(maxPostCode, Funcall.NIL, STRING);

Re: JESS: defrule for multisot

2006-01-18 Thread ejfried
I think Emmanuel Shyllon wrote: Hi, Given the following: Rete engine = new Rete (); Deftemplate d = new Deftemplate(Aus-Address, A Aus-Address, engine); d.addSlot(state-territ-name, Funcall.NIL,

JESS: Implementation Question

2006-01-18 Thread Krasnigor, Scott L (N-AST)
Title: Implementation Question We are in the process of evaluating the use of Jess within our application. One of our requirements is to be able to handle failover. We will be using a Master/Slave configuration where the slave is a replica of the master running in the background. If the

Re: JESS: ppdefrule doesn't make sense - is this a Jess 6.1 bug?

2006-01-18 Thread ejfried
I think Hector Urroz wrote: Jess (ppdefrule MAIN::clear-need-answer) (defrule MAIN::clear-need-answer \Clear need-answer if question has been answered\ ?r - (MAIN::need-answer (ident ?id)) (not (MAIN::answer (ident ?id))) (MAIN::answer (ident ?id)) = (printout t

Re: JESS: ppdefrule doesn't make sense - is this a Jess 6.1 bug?

2006-01-18 Thread Hector Urroz
Thanks for the response. It does seem a bit odd to automatically and silently modify code. Why not throw an exception? Is this done elsewhere in Jess? What is the rationale? Did I stumble onto a reserved rule name? Thanks again, Hector On 1/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I

Re: JESS: Checking for null/nil on the RHS

2006-01-18 Thread ejfried
I think erich.oliphant wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] (if (eq ?effRate nil) then ;;(dts-log-error No effective rate found for (call com.ngc.dts.util.DateUtils formatDateTime ?pddate)) return ) That return is just the symbol return, not the