I think Chandler wrote:
> r.executeCommand( "HelloJess.clp" );
I thought I was very clear yesterday, but I guess not.
The argument to executeCommand() is treated just as if you typed it at
the Jess> prompt, except that the result isn't printed, but rather
returned from the function. What is the result of typing
'HelloJess.clp' at the Jess> prompt?
Jess> HelloJess.clp
HelloJess.clp
It's just a symbol, and Jess just echoes the value back at you. To
actually execute the code in a file, you have to call a function that
will read it, right? Like, for example
r.executeCommand("(batch HelloJess.clp)");
---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------