I think kirti jambula wrote:
> hi ejfried,

> have't copied the wraper class methods wrongly..infact I have copy pasted it
> from your documentation..please check it once again....

I'm sorry, you're right. That is indeed what the Jess 6.0
documentation says. I now remember that it was reported by another
user and fixed in the next release. This was so long ago that I'd
forgotten! The 6.1aX documentation doesn't contain this error.

> I have another question.
> In printout function there are two possibilities of routing the output.
> 1. To standard O/p using "t"
> 2. To file --- which I could not get.

You need to open a file using (open) first, then use the identifier
instead of "t".

(open filename f)
(printout f Hello crlf)
(close f)

> I have tried this
> 
> jess> (batch file.txt (* 2 3))
> 
> with this command i have got an exception. How can i get the output to a
> text file.
> 

I'm not sure where you're going here. If you want to put the result of
(* 2 3) into a file, then substitute (* 2 3) for "Hello" above.





---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to