On Wed, May 03, 2006 at 08:51:37PM -0500, Charles K. Clarkson wrote:
> Mike Blezien wrote:
> 
> : is there a simple way to generate a list of numbers from
> : 0 - 1000 in increments of 10 IE: 0, 10, 20, 30, 40. ...etc
> 
>     No offense intended, but is this a homework problem?

That's the impression I get, too.  In case it's not:

I'd probably use a while loop with a less-than comparison and a simple
statement that increments by ten inside the loop.  As long as I don't
see working code that doesn't look like homework, though, I don't think
I'll offer working code in return.

-- 
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"A script is what you give the actors.  A program
is what you give the audience." - Larry Wall

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to