Re: Wishlist

new topic     » goto parent     » topic index » view thread      » older message » newer message

In message <0.1700008810.662609027-212058698-993706763 at topica.com>, Tony 
Bucholtz <tony_bucholtz at hotmail.com> writes
>
>I don't think anyone wants to change the value of the loop variable 
>*inside* the loop.

As a matter of fact, it could be useful, but I don't think it's vital!

(Example of possible usefulness - present an item from the list for user 
input and depending on user reaction, you may want the list of what's 
being processed to change: the original list has become a 'default' 
which can be overridden by user choices in the loop).

One drawback of this is that it could be an absolute b*gger to debug 
when the loop does something unexpected, but, hey, that's the sort of 
thing which makes programming fun smile
-- 
------------------                          -------------------------
|\avid Aldred   /  David at aldred.demon.co.uk  \   Nottingham, England
|/             --------------------------------

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu