Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!topaz!ll-xn!nike!ucbcad!ucbvax!hplabs!tektronix!reed!bart From: bart@reed.UUCP (Bart Massey) Newsgroups: net.micro.mac Subject: once more Re: Megamax bug? Message-ID: <3737@reed.UUCP> Date: Wed, 25-Jun-86 15:03:39 EDT Article-I.D.: reed.3737 Posted: Wed Jun 25 15:03:39 1986 Date-Received: Sat, 28-Jun-86 08:39:52 EDT References: <1023@k.cs.cmu.edu> <1250@runx.OZ> Reply-To: bart@reed.UUCP (Bart Massey) Organization: Reed College, Portland, Oregon Lines: 22 In article <1250@runx.OZ> baron@runx.OZ (Jason Haines) writes: > > NEVER confuse the For statement - for(pre-int,test,re-init) > > Try the following: > > for (i = ntables;;i--) > if (i == -1) < more statements> > NOooooo!!!!!! We've been through this already, and I thought we had it resolved (see my earlier posting). You meant for (i = ntables; i; i--) if (i == -1) to avoid an infinite loop. Note that this will work, but what Greg suggested should also work. If it doesn't, it is definitely a code generation bug, as he surmised... Bart Massey ..tektronix!reed!bart