No, I mean in a manner that allows user input. So you may type in a
number then allow the computer to count to that number.

On Fri, Apr 25, 2008 at 7:03 AM, David A. Black <dblack / rubypal.com> wrote:
> Hi --
>
>
>  On Thu, 24 Apr 2008, Dana Merrick wrote:
>
>
> > Dan Diebolt wrote:
> >
> > >
> > > > it's as simple as ...
> > > >
> > >
> > > adding an argument list:
> > >
> > > 10.times do |time1|
> > >  puts time1+1
> > > end
> > >
> > >
> >
> > Or even use a range:
> >
> > (1..10).each { |num| p num }
> >
>
>  If you really just want to print out the numbers:
>
>   puts *1..10
>
>
>  David
>
>  --
>  Rails training from David A. Black and Ruby Power and Light:
>   INTRO TO RAILS         June 9-12            Berlin
>   ADVANCING WITH RAILS   June 16-19           Berlin
>   INTRO TO RAILS         June 24-27           London (Skills Matter)
>  See http://www.rubypal.com for details and updates!
>
>



-- 
Will M
wce.page.tl
freetechtips.tk
will.liljon / gmail.com