Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    1,221

    Re: Count number of paragraphs in a document

    If the value of line is null after the first read, then is the file empty?
  2. Replies
    6
    Views
    1,221

    Re: Count number of paragraphs in a document

    Try debugging the code by adding some println() statements that print out the values of variables as their value changes. For example the value of line.
    That will show you what the computer sees...
  3. Replies
    6
    Views
    1,221

    Re: Count number of paragraphs in a document

    Did you have a question?
Results 1 to 3 of 3