Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!rpi!image.soe.clarkson.edu!jk0 From: jk0@image.soe.clarkson.edu (Jason Coughlin) Newsgroups: comp.os.minix Subject: Re: No goto's please (was Re: Fixing 7K pipes again) Message-ID: <1989Oct3.163459.9313@sun.soe.clarkson.edu> Date: 3 Oct 89 16:34:59 GMT References: <24982@louie.udel.EDU> Sender: jk0@sun.soe.clarkson.edu (Jason Coughlin) Organization: Clarkson University, Potsdam, NY Lines: 21 From article <24982@louie.udel.EDU>, by HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen): = In C, you never need a goto, since you have the exit() system call and the = return statement. In pure PASCAL there are sitations where a goto might be = appropriate: = - terminating the program after an fatal error (as it is done by exit() ) = - leaving a procedure across several other structures (as it is done by = return) Gawd, I HATE to add to this stupid discussion, but have you ever used setjmp and longjmp? These are a form of goto and they are VERY useful and are used a lot. Can we carry this little discussion in ANOTHER newsgroup? It is nolonger relevant, and it's wasting too much space here. -- -- Jason Coughlin ( jk0@sun.soe.clarkson.edu , jk0@clutx ) "Every jumbled pile of person has a thinking part that wonders what the part that isn't thinking isn't thinking of." - They Might Be Giants