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