home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / fortran / 3031 < prev    next >
Encoding:
Text File  |  1992-08-13  |  2.4 KB  |  52 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!usc!aero.org!langer
  3. From: langer@aero.org (John V. Langer)
  4. Subject: Re: What extensions do you use?
  5. Message-ID: <1992Aug14.101208.5407@aero.org>
  6. Sender: news@aero.org
  7. Organization: The Aerospace Corporation, El Segundo, CA
  8. References: <1992Aug13.004448.4409@ccu1.aukuni.ac.nz>
  9. Date: Fri, 14 Aug 1992 10:12:08 GMT
  10. Lines: 40
  11.  
  12. In article <1992Aug13.004448.4409@ccu1.aukuni.ac.nz> ecmtwhk@ccu1.aukuni.ac.nz (Thomas Koenig) writes:
  13. >What extensions do you usually use when programming FORTRAN? I try to
  14. >restrict myself to two: Use of INCLUDE statements, without which COMMON
  15. >blocks and PARAMETER statements would be almost impossible, and
  16. >IMPLICIT none. Altough the temptation to use identifiers longer than 6
  17. >letters can be overwhelming, I usually don't because one system I work
  18. >on does not support them; same goes for use of lowercase letters.
  19. >
  20. >How about you?
  21.  
  22. Hollerith data.  You know, the way we used to pack "character" information
  23. into integer or floatiing-point variables before the ANSI-77 standard gave
  24. us the CHARACTER data type.  Before you dismiss me as totally silly, let
  25. me explain:
  26.  
  27.        (1)  I use a *lot* of large, complex, "dusty-deck" software
  28.             the derives from the 60's and uses this "data type" in
  29.             many critical ways.  You can't take it all out, it's 
  30.             like a deep-seated cancer.
  31.  
  32.        (2)  *Every* Fortran compiler I have ever tried (DOS-based, VMS,
  33.             Mips/SPARC/68000 Unix Workstation-based, old and new CDC-
  34.             based, CRAY COS/UNICOS-based, IBM/MVS-based) has supported
  35.             this feature.
  36.  
  37.             I hope and pray Craig Burley will include it in his new
  38.             compiler.
  39.  
  40. In every other respect I stay strictly to the standard -- even limiting
  41. my character set to capital letters.  I agree that an "include" function
  42. is indispensible, but I satify that need with a pre-compiler pre-processor
  43. (a short home-grown program similar to the C preprocessor "cpp").  I don't
  44. use IMPLICIT NONE, but I always turn on any compiler options providing
  45. the same functionality and, if there are no such options, the wonderful
  46. "ftnchek" utility will find the improprieties.
  47.  
  48. -- 
  49. ===============================================================================
  50. | langer@aerospace.aero.org  |  jvl@mickey.aero.org  |  langer@130.221.192.10 |
  51. ===============================================================================
  52.