thanks. all done. though i was thinking that if i wanted to update the text file and NOT replace it, I could not use the f.write command. Is that right?
i.e. if i want to keep a log of the t1 and t3 values for a period of 1 minute, getting the values every 10 seconds, the f.write command cannot be usefeul because it will overwrite the inital values with the refreshed ones within the text file. Which command should be used in order to have in the text file all the values taken in the last 1 minute? thanks a lot --- Shao Kang Tat <[EMAIL PROTECTED]> wrote: > or > > f.write(t3.to_s + "\n") > > rather if t3 is the line that's giving you trouble > > _______________________________________________ > Wtr-general mailing list > Wtr-general@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-general > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general