Path: utzoo!attcan!uunet!umich!wuarchive!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Some interesting novice questions from a novice guy Message-ID: Date: 27 Oct 90 20:45:16 GMT References: <14488.27252b63@max.u.washington.edu> <3553@idunno.Princeton.EDU> <2620@cirrusl.UUCP> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 16 > > while(*foo++) > > continue; > while(*foo++) { > Hey you! Just what the heck do you think you are > doing? Stop that right now! Go back to the > beginning and do it all over again, and try to do > it right this time! > } You need to reprogram yourself. "continue" means "skip the rest of this loop". Which makes perfect sense even if the loop's empty. It doesn't mean "go back to the beginning", because that implies the test will not be performed again (at least to me). How many angels can dance on the head of a pin? -- Peter da Silva. `-_-' +1 713 274 5180. 'U` peter@ferranti.com