View Single Post
  #4 (permalink)  
Old 08-31-2006, 11:42 AM
brackett brackett is offline
Programmer
 
Join Date: May 2006
Posts: 193
Credits: 0
Rep Power: 11
brackett is on a distinguished road
Default

Usually, you'd use a while loop for a never ending loop (like for a service). I can't think of any reasonable use for a never ending for loop. Since for loops check a condition and perform an increment (or, in C languages, perform another action) it'd be kind of wasteful to use it in place of a while (true).
Reply With Quote