Search:

Type: Posts; User: copeg

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,517

    Re: trying to save data onto a file

    I would guess that would cause only the first line to be written...the output variable is closed on the first loop - that must be moved outside as well. And for future reference, please wrap your...
  2. Replies
    4
    Views
    1,517

    Re: trying to save data onto a file

    Each time you open the FileWriter, it will overwrite the previous contents. Either open the File outside the loop, or take a look at the API - in particular the constructor that accepts a boolean...
Results 1 to 2 of 2