View Single Post
Old Apr 28th, 2005, 8:11 AM   #3
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 328
Rep Power: 4 mackenga is on a distinguished road
Nice solution. I just thought I'd add; another conventional way to do an infinite loop is for (;;), which arguably is even clearer since it doesn't even have the 'dummy condition' constant 1.

Last edited by mackenga; Apr 28th, 2005 at 8:11 AM. Reason: Darn smileys... :)
mackenga is offline   Reply With Quote