Re: JESS: Getting Facts in Sorted Order

2006-02-14 Thread Dusan Sormaz
Eric, here is the rule that will work: (defrule items-to-buy ?ItemFound - (SomethingIWant (Name ?ItemName) (Price ?ItemPrice) (Priority ?ItemPriority1) (Selected false ) ) (not (SomethingIWant (Selected false) (Priority ?p:( ?p ?ItemPriority1 = (printout t Found: ?ItemName ,

RE: JESS: Getting Facts in Sorted Order

2006-02-14 Thread Eric W. Bonnett
? Thanks, Eric From: owner-jess-users@sandia.gov [mailto:owner-jess-users@sandia.gov] On Behalf Of Dusan Sormaz Sent: Tuesday, February 14, 2006 7:51 AM To: jess-users@sandia.gov Subject: Re: JESS: Getting Facts in Sorted Order Eric, here is the rule that will work: (defrule items

Re: JESS: Getting Facts in Sorted Order

2006-02-14 Thread ejfried
I think Eric W. Bonnett wrote: [Charset iso-8859-2 unsupported, filtering to ASCII...] Thanks, but that only matches on the single set of facts with the lowest priority. No, actually, it'll do just exactly what you want. Maybe you typed it wrong?

RE: JESS: Getting Facts in Sorted Order

2006-02-14 Thread Eric W. Bonnett
. Thanks, Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:30 AM To: jess-users@sandia.gov Subject: Re: JESS: Getting Facts in Sorted Order I think Eric W. Bonnett wrote: [Charset iso-8859-2 unsupported

RE: JESS: Getting Facts in Sorted Order

2006-02-14 Thread Eric W. Bonnett
:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 12:03 PM To: jess-users@sandia.gov Subject: Re: JESS: Getting Facts in Sorted Order I think Eric W. Bonnett wrote: Hmm, I don't think so. Copy\paste! :) I should have mentioned it before, I'm using the publicly