SOS

If you know how to write a function, I'd write a function for each of the things your asked to do.

read each line, pass it to each function then go to the next function, IMO, much easier to write and troubleshoot afterwards.
Topic archived. No new replies allowed.