From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 11 Aug 2009 11:30:13 +0100 From: Ethan Grammatikidis To: 9fans@9fans.net Message-Id: <20090811113013.8513221d.eekee57@fastmail.fm> In-Reply-To: <4A808A92.1000800@orcasystems.com> References: <4A7F246E.8000504@tecmav.com> <4A808A92.1000800@orcasystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Unexpected 8c warning message Topicbox-Message-UUID: 41782048-ead5-11e9-9d60-3106f5b1d025 On Mon, 10 Aug 2009 14:01:06 -0700 James Tomaschke wrote: > What about, > > i = 0; > do { > SD = SDList[i++]; > ... > } while(i<2); > I was about to suggest something similar. I'm actually trying to avoid using for(;;) altogether which may seem odd to some but I just don't like parsing a for statement, it's rarely clear and usually ugly to my eyes. I still often forget to increment the counter, but that error produces a very obvious symptom. When I don't forget I place the increment on a line by itself, the last of the block, for clarity. -- Ethan Grammatikidis Those who are slower at parsing information must necessarily be faster at problem-solving.