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
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
[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?
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
#+ 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
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
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
-
[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).
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
[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
-
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
-
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
[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)
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
14 matches
Mail list logo