From: Robert Klemme Date: 2008-05-20T22:27:07+09:00 Subject: Re: displaying data Please do not top post. 2008/5/20 Tim Wolak : > Thanks Robert! It is actually working but like I said after the first > has is printed out a new line carriage return is then put in so all my > data moves down. The performance part of it is ok as this is not a real > long script, its pretty fast as is. I was just not sure about why when I > use the concatenation sign it would do a new line. I'm afraid you did not understand how your code works: #puts is the method that prints all those newlines. Before @curnl starts to get printed all entries of @prevnl have been iterated and printed already. The + is meaningless since the result isn't used for anything. robert -- use.inject do |as, often| as.you_can - without end