Re: JESS: [EXTERNAL] How to negate a variable when in lhs of a rule

2012-01-16 Thread Hunter McMillen
ces undefined results (I.e., it'll work > right some of the time.) > > From: Hunter McMillen > Reply-To: > Date: Wed, 11 Jan 2012 16:37:11 -0500 > To: > Subject: Re: JESS: [EXTERNAL] How to negate a variable when in lhs of a > rule > > I placed the asterisks

Re: JESS: [EXTERNAL] How to negate a variable when in lhs of a rule

2012-01-11 Thread Friedman-Hill, Ernest
t'll work right some of the time.) From: Hunter McMillen mailto:mcmil...@gmail.com>> Reply-To: mailto:jess-users@sandia.gov>> Date: Wed, 11 Jan 2012 16:37:11 -0500 To: mailto:jess-users@sandia.gov>> Subject: Re: JESS: [EXTERNAL] How to negate a variable when in lhs of

Re: JESS: [EXTERNAL] How to negate a variable when in lhs of a rule

2012-01-11 Thread Hunter McMillen
t; * (unit (ID ?id) (typeID ?typeID) (player ~?*PLAYER_ID*))* > > > From: Hunter McMillen > Reply-To: > Date: Wed, 11 Jan 2012 14:38:31 -0500 > To: > Subject: JESS: [EXTERNAL] How to negate a variable when in lhs of a rule > > Hi everyone, > > I am trying to d

Re: JESS: [EXTERNAL] How to negate a variable when in lhs of a rule

2012-01-11 Thread Friedman-Hill, Ernest
eID ?typeID) (player ~?*PLAYER_ID*)) From: Hunter McMillen mailto:mcmil...@gmail.com>> Reply-To: mailto:jess-users@sandia.gov>> Date: Wed, 11 Jan 2012 14:38:31 -0500 To: mailto:jess-users@sandia.gov>> Subject: JESS: [EXTERNAL] How to negate a variable when in lhs of a rule Hi everyone,

JESS: [EXTERNAL] How to negate a variable when in lhs of a rule

2012-01-11 Thread Hunter McMillen
Hi everyone, I am trying to differentiate between Objects that belong to a certain user inside two of my rules. I have a variable created from Java like this: *engine.getGlobalContext().setVariable("PLAYER_ID", new Value(player.getID());* * * And I want to use this variable in rules to determine