Comments

: How can I input a line, 1 line at a time, from a text file, make : changes to that line, and save the changed line? The may be as many : as 1000 lines in a file.

I suggest either 1) Reading one line at a time, and saving to a temp output file one at a time. Then when you're done reading, close the file, remove it and change the name of the temp file to match the original, or 2) Read the entire file at once, modify each line, and then write the output back.Best Regards,Richard