From: Ashley Wharton Date: 2008-02-08T10:14:52+09:00 Subject: Re: New user - very basic question ------=_Part_31909_16092499.1202433299312 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thank you very much! Take care, ashley On Feb 7, 2008 6:13 PM, Benjamin Stiglitz wrote: > > Thank you for taking the time - could I trouble you further? If I want > > the "reply" to iterate through until it reaches 100 could just add the > > "while" to your code as below? > > > while reply < max > > reply = reply + 1 > > puts reply > > end > > Even better is > reply.upto(max - 1) { |x| puts x } > > -Ben > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_31909_16092499.1202433299312--