home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!warwick!rlinf!rff
- From: rff@inf.rl.ac.uk (Ronald Fowler)
- Newsgroups: comp.lang.fortran
- Subject: Re: Why CALL EXIT? (was Re: Question for C ==> Fortran)
- Message-ID: <12647@rose.rl.ac.uk>
- Date: 30 Jul 92 11:24:38 GMT
- References: <1992Jul28.075514.28683@debbie.cc.nctu.edu.tw> <1992Jul29.134901.1@slacvx.slac.stanford.edu> <1992Jul29.204115.3917@walter.cray.com>
- Organization: Rutherford Appleton Laboratory, Informatics Department, U.K.
- Lines: 18
-
- In article <1992Jul29.204115.3917@walter.cray.com> wws@craywr.cray.com (Walter Spector) writes:
- >|> 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?
-
- Did you mention Suns? :-)
- I find it very annoying that a program compiled with "f77 -fast" will always
- give a short essay on the finer points IEEE modes when it terminates. Calling
- EXIT instead of STOP is one way round this (why is there no compiler flag for
- this and the even more stupid way that programs write "trace back logs" when
- Control-C is used??)
-
- Ron Fowler
-