The Jess I/O functions like open, read, and readline are based on the
like-named functions in CLIPS, and like those functions, they aren't
very flexible. They are best for reading in Jess language code or for
simple words and numbers.

For general I/O, it's much easier to use Java I/O classes. You can
do this from Jess using reflection perfectly well. You could use
StreamTokenizer, for example.

I think Michael Johnson wrote:
> I am trying to import classes and instances from a Protege ontology.  
> Classes are saved in a file called cs6804.ponts and instances are saved in a 
> file called cs6804.pins.  I am trying to use the JESS I/O functions and to 
> complete the program entirely in JESS.  Does anyone have sample code they 
> can send me?
> 
> Sincerely,
> Mike Johnson


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