Correction, what I typed in was wrong. It does give a listing of the
sticks.clp
I can also run
However, I cannot get the following example to work.
Jess> (batch "examples/jess/sticks.clp")
Jess reported an error in routine batch
while executing (batch "examples/jess/sticks.clp").
Message: Cannot open file.
Program text: ( batch "examples/jess/sticks.clp" ) at line 1.
Nested exception is:
examples\jess\sticks.clp (The system cannot find the path specified)
Jess>
I presume this is because of a path problem in the environment. I have the
path in the environment set as follows.
C:\Sun\AppServer\bin;C:\Sun\AppServer\jdk\bin;C:\Program
Files\Java\jdk1.5.0_06\bin;C:\Jess70b6
By the way, I have your book on order and it should be here any day.
Thanks
Larry
Lawrence Weathers, Ph.D.
Psychologist
6921 E Jamieson Rd.
Spokane WA 99223
509-448-6462, Fax 806 209 8854
[EMAIL PROTECTED]
www.caer.com, www.adhdhelp.org
One sees great things from the valley, only small things from the peak.
G. K. Chesterton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, May 02, 2006 11:20 AM
To: [email protected]
Subject: Re: JESS: Set up questions
I think Lawrence Weathers wrote:
> Jess> (batch "examples/jess/sticks.clp")
This assumes that your current directory is the Jess distribution
directory, with all its original contents intact. You should be able
to say
Jess> (exit)
C:\Jess70b6> type examples\jess\sticks.clp
and see the code for that example ("Jess>" and "C:\Jess70b6>" are
prompts -- you don't type those.) If you get an error message, then
that file is missing -- perhaps you deleted it by mistake?
---------------------------------------------------------
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]
--------------------------------------------------------------------
--------------------------------------------------------------------
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]
--------------------------------------------------------------------