I am still having trouble with something that should be easy.  I am
obviously missing something. 

I create my Rete class with the following code:

    rete = new Rete();
    reteReader = new BufferedReader(rete.getInputRouter("t"));

Then in another method, I have the following code:

    try {
      while (reteReader.ready()) {
        s = reteReader.readLine();
        if (s != null)
          System.out.println (" > " + s);
      }
    } 
    catch (IOException ioe) {
      System.err.println (ioe.toString());
    } 

But the reader never seems to be ready.  All I want to do is catpure
String data and parse it within the rest of my code.  The store and
fetch stuff only seems to work with numerical data.  What am I doing
wrong?

Buck Surdu

-- 
--------------------------------------------------------------
John R. "Buck" Surdu
Major, U.S. Army

[EMAIL PROTECTED] (http://www.cs.tamu.edu/people/surdu)
[EMAIL PROTECTED]    (http://members.aol.com/jsurdu)
(409) 845-9216

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