> when it was added to C++, i "felt" that the scope
> of 'i' wasn't natural; it goes beyond 'for's closure.
> i like a behavior like this:
> 
>       { int i; for (i = 0, ...) ...; }

so did the c++ standards committee and the c99 committee.
both have declared that

        for (int i = 0; i < 10; i++);
        
now means

        { int i; for(i=0; i<10; i++); }

russ

Reply via email to