home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!asupowit
- From: asupowit@magnus.acs.ohio-state.edu (Aaron Supowit)
- Newsgroups: comp.lang.fortran
- Subject: Re: Why CALL EXIT? (was Re: Question for C ==> Fortran)
- Message-ID: <1992Aug3.193810.12198@magnus.acs.ohio-state.edu>
- Date: 3 Aug 92 19:38:10 GMT
- References: <1992Jul28.075514.28683@debbie.cc.nctu.edu.tw> <1992Jul29.134901.1@slacvx.slac.stanford.edu> <1992Jul29.204115.3917@walter.cray.com>
- Sender: news@magnus.acs.ohio-state.edu
- Organization: The Ohio State University
- Lines: 32
- Nntp-Posting-Host: top.magnus.acs.ohio-state.edu
-
- In article <1992Jul29.204115.3917@walter.cray.com> wws@craywr.cray.com (Walter Spector) writes:
- >
- >In article <1992Jul29.134901.1@slacvx.slac.stanford.edu>, fairfield@slacvx.slac.stanford.edu writes:
- >|> [a bunch of stuff, then...]
- >|> CALL EXIT
- >|> END
- >|>
- >|> The "CALL EXIT" at the bottom is optional (more-or-less). A "STOP" statement
- >|> would do just as well.
- >
- >This is something I have never understood in almost 20 years of Fortran
- >programming. Why do so many people use the non-standard CALL EXIT
- >instead of the standardized-for-over-25-years STOP statement?
- >Is/was there magic associated with it on some arcane systems?
- >
- >(At least there aren't many codes twiddling 'sense lights' anymore. :-)
- >
- >Walt
- >--
- >Walt Spector
- >(wws@renaissance.cray.com)
- >Sunnyvale, California
- >_._ _._ _.... _. ._.
-
- Originally STOP stop stopped the cpu (not the current program). Therefore many installations
- (such as the one where I was employed) prohibitted its use. CALL EXIT was a way to
- terminate a program gracefully. With the advent of multi-programming environments, the
- STOP statement's function was of necessity changes. To insure compatibility with old, existing
- programs, CALL EXIT was kept. People still use it because old habits die hard. I still
- see many things done which are old, old habits.
-
- Aaron Supowit - Ohio State University.
-