Re: Use "range," not "for"?

From: David McClamrock (mcclamrock_at_locl.net)
Date: 02/13/04


Date: Fri, 13 Feb 2004 05:26:20 -0500

Glenn Jackman wrote:

> David McClamrock <mcclamrock@locl.net> wrote:
>> I've found that a simple "foreach" loop fairly often won't do the jobs I
>> want done,
>
> Really? Why?

Because I wanted to do something for each specific number in an integer
range (e.g., create a column in a multi-column list display), but the top
limit of the integer range was going to come from user input so I couldn't
identify it in advance, and I didn't have an integer range generator for
"foreach." I'll take a look at the one you suggested. Thanks!
  
David McClamrock