Re: JESS: java.lang.Boolean to Jess Boolean

2001-11-27 Thread ejfried
From Java you should use new Value(RU.ATOM, TRUE) for true, and new Value(RU.ATOM, FALSE) for false. As a shortcut, there are constants Funcall.TRUE and Funcall.FALSE in the jess.Funcall class. Note also that String constants in Java (and in Jess) use double quotes, not

RE: JESS: java.lang.Boolean to Jess Boolean

2001-11-27 Thread Alan Moore
]]On Behalf Of Mahesh Gandhe Sent: Tuesday, November 27, 2001 12:51 PM To: [EMAIL PROTECTED] Subject: JESS: java.lang.Boolean to Jess Boolean hi , I am writing the java code for the method so that the method could be invoked in the command line in jess. The code is as follows import jess.*; import

Re: JESS: java.lang.Boolean to Jess Boolean

2001-11-27 Thread ejfried
and a BooleanValue class? Good luck! alan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mahesh Gandhe Sent: Tuesday, November 27, 2001 12:51 PM To: [EMAIL PROTECTED] Subject: JESS: java.lang.Boolean to Jess Boolean hi , I am writing

Re: JESS: java.lang.Boolean to Jess Boolean

2001-11-27 Thread Mahesh Gandhe
hi , thanks a ton. The code is working fine and my problem is solved. Regards, Mahesh G. [EMAIL PROTECTED] wrote: From Java you should use new Value(RU.ATOM, "TRUE")for true, and new Value(RU.ATOM, "FALSE")for false. As a shortcut, there are constants Funcall.TRUE andFuncall.FALSE in the

Re: JESS: boolean Value

2001-10-19 Thread ejfried
The boolean values in Jess are the atoms TRUE and FALSE. There are boolean constants you can use in the Funcall class -- jess.Funcall.TRUE and Jess.Funcall.FALSE and public static Value objects with the appropriate values, or just use new Value(TRUE, RU.ATOM). I think [EMAIL PROTECTED] wrote:

JESS: Boolean

1999-06-28 Thread James C. Owen
Sometimes I think that a short course in Boolean Logic might be applicable BEFORE one engages in the task of writing a rulebased routine. Remember, "Boole was no foole." :-) -- ttfn IHN Jim - James C. Owen Knowledge-Based Systems Corporation 4817 Buckskin