Re: JESS: executeCommand

2005-02-22 Thread ejfried
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

RE: JESS: executeCommand

2005-02-22 Thread Alan Moore
: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

JESS: executeCommand

2005-02-22 Thread Andreas Holzbach
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)

RE: JESS: executeCommand() not re-entrant?

2004-02-11 Thread Mitch Christensen
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

Re: JESS: executeCommand() not re-entrant?

2004-02-11 Thread ejfried
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

JESS: executeCommand() not re-entrant?

2004-02-10 Thread Mitch Christensen
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