home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.edu:1386 comp.lang.fortran:3255
- Path: sparky!uunet!dtix!mimsy!afterlife!adm!amsaa-cleo!mcohen
- From: mcohen@amsaa-cleo.brl.mil (Marty Cohen)
- Newsgroups: comp.edu,comp.lang.fortran
- Subject: Re: Small Language Wanted
- Summary: a reference to an article about modular programming in Fortran
- Keywords: modular programming
- Message-ID: <8749@amsaa-cleo.brl.mil>
- Date: 27 Aug 92 18:33:32 GMT
- References: <1992Aug25.095623.18808@news.Hawaii.Edu>
- Followup-To: comp.edu
- Distribution: na
- Organization: Army Materiel Systems Analysis Activity
- Lines: 17
-
- Dave Tholen writes:
- >Well, maybe we define modular differently, but I consider my code to be
- >quite modular. My main programs consist of a rather large number of
- >calls to library routines that I've written, and lots of programs use
- >these library routines.
- For a method of writing modular programs in Fortran 77, see: SIGPLAN
- Fortran Forum 11,3, Sept 1992 (ACM Press) ppg 11-19, Data Encapsulation
- Using Fortran 77 Modules, by L.L.DeLong, D.B.Thompson, and J.M.Fulford,
- Hydrologists, U.S. Geological Survey, Bldg 2101, Stennis Space Center,
- MS 39529.
-
- >And if the elimination of computed GO TOs will
- >help make FORTRAN more structured, then you can simply not use them.
- In Fortran 77 there is no way to code a while loop without using a GOTO.
- --
- Marty Cohen mcohen@brl.mil {uunet|rutgers}!brl!mcohen
- Custom House Rm 800, Phila. PA 19106 (215)597-8377 Fax (215)597-2240
-