The executeCommand() method is just a convenience method, a quick way
to invoke a bit of Jess code from Java. By restricting yourself to
using it alone, you'll be making a lot of work for yourself.
Jess has a rich Java API which gives you access to everything you
need. You'll just need to read the
:31 PM
To: jess-users@sandia.gov
Subject: JESS: executeCommand
Hello,
iB4m using the executeCommand Method from the ReteClass.
My problem is: How can I get the results of the commands back,
like when using Jess with the command line?
Currently iB4m using the Value.toString Method, but
thatB4s not
Hello,
iB4m using the executeCommand Method from the ReteClass.
My problem is: How can I get the results of the commands back,
like when using Jess with the command line?
Currently iB4m using the Value.toString Method, but
thatB4s not really the same.
For example: (facts) returns just nil and (run)
Very nice.
Thank you.
-Mitch
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 4:33 AM
To: [EMAIL PROTECTED]
Subject: Re: JESS: executeCommand() not re-entrant?
I think Mitch Christensen wrote:
> I hav
I think Mitch Christensen wrote:
> I have a user-defined function implemented in Java called
> (execute-command) that accepts a resource name (i.e. filename) argument.
> This function reads the contents of the specified resource into a
> String, and calls rete.executeCommand() on the resource's con
Title: Message
I have a
user-defined function implemented in Java called (execute-command) that accepts
a resource name (i.e. filename) argument. This function reads the
contents of the specified resource into a String, and calls
rete.executeCommand() on the resource's contents.
Now, if