Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!psuvax1!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: The final word on GOTO (Don't I wis Message-ID: <11220@smoke.BRL.MIL> Date: 5 Oct 89 13:49:07 GMT References: <6396@ficc.uu.net> <725@thor.wright.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <725@thor.wright.EDU> bkottman@thor.wright.edu writes: > This must be really old code since in C, execution falls through >to the next case anywasy; in every case without the goto, it would hit >donum: anyways...(albiet after trying the rest of the case statements) > A break usually replaces the goto in that type of code. For the benefit of anyone who might have been misled by that response, I should point out that bkottman completely misread the code. Those particular gotos could not have been omitted unless the code were substantially rearranged, and the age of the code has nothing to do with it.