Thank you very much.  I did not realize  it was so simple.  Do you know 
how to  refer to prior lines to make calculations?

-- 
Posted via http://www.ruby-forum.com/.