RE: JESS: strange behavior

2007-02-14 Thread Skeptic 2000
Hi, I have a rule looking something like : (defrule wcooo ; exemple pour un while (MyShadowfact (OBJECT ?o)) (test ( (str-length (?o methodreturningastring param)) 3)) = (printout t rulefired (str-length (?o methodreturningastring param)) crlf)) And I strangly get the

JESS: strange behavior

2007-01-19 Thread Skeptic 2000
Hi, I have a rule looking something like : (defrule wcooo ; exemple pour un while (MyShadowfact (OBJECT ?o)) (test ( (str-length (?o methodreturningastring param)) 3)) = (printout t rulefired (str-length (?o methodreturningastring param)) crlf)) And I strangly get the rulefired message with

Re: JESS: strange behavior

2007-01-19 Thread Ernest Friedman-Hill
On Jan 19, 2007, at 12:00 AM, Skeptic 2000 wrote: Hi, I have a rule looking something like : (defrule wcooo ; exemple pour un while (MyShadowfact (OBJECT ?o)) (test ( (str-length (?o methodreturningastring param)) 3)) = (printout t rulefired (str-length (?o methodreturningastring param))

Re: JESS: Strange behavior when using Jess modules

2003-08-26 Thread Felix H. Bachmann
Hi, a few days ago I posted a question concerning the use of modules and so far I did not get any answer. Is there really no one who could help me to figure out what is wrong with the following example? Felix Here an interesting issue. (I hope) Assume the rules are structured into 3

Re: JESS: Strange behavior when using Jess modules

2003-08-26 Thread ejfried
I think Felix H. Bachmann wrote: A few days ago I posted a question concerning the use of modules and so far I did not get any answer. Is there really no one who could help me to figure out what is wrong with the following example? Probably because many people didn't bother to read it the

JESS: Strange behavior when using Jess modules

2003-08-25 Thread Felix H. Bachmann
Here an interesting issue. (I hope) Assume the rules are structured into 3 modules (MAIN, A, and B) which contain statements to assert ordered facts as shown in this example: ; ; c:/jess/test/A.clp ; (defmodule A) (defrule forA (MAIN::initial-fact) = (assert (testfact A in A)) (assert