From: Will Mueller Date: 2008-04-25T20:53:04+09:00 Subject: Re: Counting Program If I was to revise it to be able to simply type in a number and then allow the program to count up to that on the screen how should it be revised? time2=(something with user input) puts time2+=1 end Something like that? On Wed, Apr 23, 2008 at 2:15 PM, Dana Merrick wrote: > Or even use a range: > > (1..10).each { |num| p num } > > > > Dan Diebolt wrote: > > > > > > it's as simple as ... > > > > > > > adding an argument list: > > > > 10.times do |time1| > > puts time1+1 > > end > > > > > > -- Will M wce.page.tl freetechtips.tk will.liljon@gmail.com