[Info-vax] decrementing & for loops in C
    JF Mezei 
    jfmezei.spamnot at vaxination.ca
       
    Fri Jan  9 10:49:08 EST 2009
    
    
  
Bill Gunshannon wrote:
> In which case this is not a for-loop condition at all and you should have
> used something like while.  
The advantage of a for (x = 0, i, x++) type of loop is that you don't
need to be bothered with incrementing x, it is done automatically.
I wouldn't be susprised if the above resulted in moreefficient
incrementing of x compared to having a while loop where you manually
incremented it.
    
    
More information about the Info-vax
mailing list