I am trying to create an error trapper for my application. but for the part where I want it to log the error to a stream, I need to know how many lines are in the stream input so I write at the right place. basicly I want to count lines in a stream. any suggestions?
