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",
Hmm,
Am i doing something wrong here then,
I have this code on the RHS:
--
(bind ?effRate (ognl-get ?pdLocation "getEffectivePerDiemRate(#date)" "date"
?pddate))
(if (eq ?effRate nil) then
;;(dts-log-error "No effective rate found for " (call
com.ngc.dts.util.DateUtils formatDateTime ?pdda
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 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))
>=>
>(prin
Hello,
Jess version = 6.1
For the rule...
(defrule MAIN::clear-need-answer "Clear need-answer if question has been answered"
;; If we need an answer ... ?r <- (MAIN::need-answer (ident ?id))
;; ... but already have the answer (MAIN::answer (ident ?id))
=>
;; Print info (printout t "Retracting
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 maste
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
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");