Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!usc!elroy.jpl.nasa.gov!lll-winken!ames!dftsrv!jagubox.gsfc.nasa.gov!jim From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Newsgroups: comp.lang.fortran Subject: Re: Is this kosher? Message-ID: <2812@dftsrv.gsfc.nasa.gov> Date: 30 Jan 91 15:24:19 GMT References: <20773@hydra.gatech.EDU> <2796@dftsrv.gsfc.nasa.gov> <20785@hydra.gatech.EDU> Sender: news@dftsrv.gsfc.nasa.gov Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Organization: NASA/Goddard Space Flight Center Lines: 40 In article <20785@hydra.gatech.EDU> gt4512c@prism.gatech.EDU (BRADBERRY,JOHN L) writes: }In article <2796@dftsrv.gsfc.nasa.gov> jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes: }>In article <20773@hydra.gatech.EDU> gt4512c@prism.gatech.EDU (BRADBERRY,JOHN L) writes: }>}In article <2787@dftsrv.gsfc.nasa.gov> jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes: }> }>It ain't my code... I've seen this quite a few times on VAX machines (their }>FORTRAN accepts it without even a hiccup) but, of course, when porting to }>other machines the code dies a horrible death. Sometimes it does make sense }>to do this if the block you are referring back to is large... of course, in }>that case is better to just make it "into" a subroutine and use it as such. }> } }Sorry about the 'assumption' implied in my response! Nothing to be sorry 'bout :):) } }Suggesting that it makes sense to violate structured programming techniques }in this manner is similar to the arguments for GOTO's,COMEFROM'S,LINE NUMBERS, }and other ingredients that frequently result in 'spaghetti code'. } I'm not suggesting that it makes sense to violate strucured techniques, I'm only saying that at times I see sense in the reason it's DONE that way... I don't necessarily approve, but I understand why... Of course, I don't think that you were suggesting that I was suggesting... :):):) You recall COMEFROM's too, huh? Anyway, nobody likes GOTO's... until they really NEED one... even C concedes this rather nasty point. Cheers! -- ======================================================================= #include =:^) Jim Jagielski NASA/GSFC, Code 711.1 jim@jagubox.gsfc.nasa.gov Greenbelt, MD 20771 "Exploding is a perfectly normal medical phenomenon. In many fields of medicine nowadays, a dose of dynamite can do a world of good."