On Wed, Dec 07, 2005 at 03:00:11PM +0100, Wouter van Ooijen wrote: > >> (infinite loops) > >> What is the difference between the two? > > > > None. Both are infinite loops. > > > > > Any advantages of one method over the other? > > > > Nope. It's strictly a style issue. Functionally they are equivalent. > > A specific compiler might generate more effecicient code for either the > one or the other. True. A real dumb compiler might actually evaluate the 1 in the while (1) statement. > This depends on the specific compiler. But the > difference will be very small anyway, so you might as well forget it. Exactly. BAJ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist