home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / edu / 1386 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.4 KB

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