JESS: finding the slot type

2003-12-11 Thread Myriam Abramson
he actual type? TIA, Myriam Abramson, Ph.D. ITT Industries, Inc. 202-404-7342 To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use yo

JESS: JessListener

2003-10-20 Thread Myriam Abramson
Hi! I have a JessListener where I detect when certain facts get asserted or modified. I would like to extract some slot values from those facts but how do I get the "context" necessary to resolve the values? public class MyListener implements JessListener { public void eventHappened

Re: JESS: Jess article at TheServerSide

2003-10-08 Thread Myriam Abramson
[EMAIL PROTECTED] writes: > Well, a micro-one. I've talked at a few JUGs in the area here. Nothing > that requires actual travel. Talking about area. I read that you live in Gathersburg, MD, and work for Sandia Labs. How is it possible? I thought Sandia Labs were in New Mexico?

JESS: pretty printing a fact

2003-09-17 Thread Myriam Abramson
Hi! Is there a way to pretty print a fact? For example, ppfact(0) to print f-0? TIA myriam To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to

JESS: jess events

2003-09-10 Thread Myriam Abramson
#+ jess61p4 I set my event mask to include JessEvent.MODIFIED but it seems that I'm getting something different when checking for the event type: The event type comes as 1073741840 when it should be 1073741824 according to the API. Any ideas? I've noticed that REMOVED is also different. TIA

JESS: date display

2003-09-08 Thread Myriam Abramson
Hi! I want to display a date in a user-friendly format. I thought I'll do (bind ?date (new Date 734898240)) (printout t ?date crlf) but that does not give me the nice formatting of Java as in System.out.println (date); Fri Jan 09 07:08:18 EST 1970 How can I do that in Jess? TIA

JESS: JIA book remark

2003-08-25 Thread Myriam Abramson
Hi! I'm finally reading JIA. Great book, BTW. I have a nagging question though. The Jess language is very similar to Lisp and I feel very comfortable with that. Why then create$ to make a list and not list$ (p. 50)? myriam -

Re: JESS: Value

2003-07-08 Thread Myriam Abramson
[EMAIL PROTECTED] writes: > I think Myriam Abramson wrote: > > > > long x = 10001; > > new Value(x,RU.LONG) ; > > > > gives me the following error (6.1p3) > > > > Message: You must use class jess.LongValue: "nil" (type = LONG).

JESS: Value

2003-07-08 Thread Myriam Abramson
long x = 10001; new Value(x,RU.LONG) ; gives me the following error (6.1p3) Message: You must use class jess.LongValue: "nil" (type = LONG). Actually, looking at the javadocs, I don't see anything for longs. How do you make a Value for longs to set a slot of type long? TIA

Re: JESS: Value type conversion question

2003-06-30 Thread Myriam Abramson
[EMAIL PROTECTED] writes: > You might want to read chapter 4 of the Jess manual, especially > section 4.2.2. > Oh, I see. In summary, the values are resolved automatically for deffunctions but not for java userfunctions? myriam -

JESS: Value type conversion question

2003-06-30 Thread Myriam Abramson
Why floatValue, stringValue, etc. need a jess context parameter but toString does not? I don't understand how the context parameter is used for converting a jess Value to a simple java type. TIA, myriam -

JESS: parallel rule firing?

2003-06-20 Thread Myriam Abramson
Is there a way to fire rules in parallel in Jess? TIA myriam To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED

Re: JESS: more effecient jess debuging

2003-06-06 Thread Myriam Abramson
[EMAIL PROTECTED] writes: > I think Joe Kopena wrote: > > > > For the record, I usually write in a simple macro language that gets > > expanded to valid Jess code. It makes it a lot easier to deal with > > URIs (both in terms of preventing mistakes and escaping them properly > > when necessary)

JESS: Daml + Jess ?

2003-06-05 Thread Myriam Abramson
Is anybody working with that? I see DamlJessKb and DamlApi interfacing Daml and Jess. Any experiences on either of those? Any other tools out there? myriam To unsubscribe, send the