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 values like 4, 5, 6, ...
Can someone help ?Thanks





> From: [EMAIL PROTECTED]> Subject: Re: JESS: Decorators> Date: Thu, 18 Jan 
> 2007 10:43:47 -0500> To: jess-users@sandia.gov> > Do the decorators actually 
> enlarge the API of the defclassed class? > In that case, you'll only be able 
> to match those additional > properties using Java method calls. Otherwise, 
> things would work out > fine; you could even just defclass the interface, if 
> that's how > things are structured. Otherwise, can you give us a concrete 
> example > to discuss?> > On Jan 18, 2007, at 9:17 AM, Krasnigor, Scott L 
> (N-AST) wrote:> > > I am curious what the implications are of defclassing a 
> class with > > many decorators associated with it? I need to be able to match 
> > > various attributes of the class that are part of the decorators. Is > > 
> there a correct/best way to handle this case? Any advice would be > > 
> appreciated. Thanks.> >> >> >> > Scott> >> >> >> >> > 
> ---------------------------------------------------------> Ernest 
> Friedman-Hill> Advanced Software Research Phone: (925) 294-2154> Sandia 
> National Labs FAX: (925) 294-2234> PO Box 969, MS 9012 [EMAIL PROTECTED]> 
> Livermore, CA 94550 http://www.jessrules.com> > 
> --------------------------------------------------------------------> To 
> unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'> in 
> the BODY of a message to [EMAIL PROTECTED], NOT to the list> (use your own 
> address!) List problems? Notify [EMAIL PROTECTED]> 
> --------------------------------------------------------------------> 
_________________________________________________________________
Soyez parmi les premiers à essayer Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d

Reply via email to