Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!rochester!ur-helheim!badri From: badri@ur-helheim.UUCP (Badri Lokanathan) Newsgroups: net.lang.c Subject: Infinite loops Message-ID: <577@ur-helheim.UUCP> Date: Tue, 15-Apr-86 12:49:53 EST Article-I.D.: ur-helhe.577 Posted: Tue Apr 15 12:49:53 1986 Date-Received: Fri, 18-Apr-86 04:16:03 EST Reply-To: badri@ur-helheim.UUCP (Badri Lokanathan) Organization: U. of Rochester, EE Dept. Lines: 19 This is really a nitpicking question, but, anyway! There are several ways of creating infinite loops: while(1) { . . . } Or for(;;) { . . . } And others too. My question is the following: is there any reason (other than personal preferance) why one would prefer to use any particular form? I personally prefer the while(1) form since it seems to make better reading. Even better, I sometimes define TRUE to be 1 and then use while(TRUE).