home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!spool.mu.edu!caen!hellgate.utah.edu!lanl!cochiti.lanl.gov!jlg
- From: jlg@cochiti.lanl.gov (J. Giles)
- Subject: Re: How common are long variable names?
- Message-ID: <1992Dec14.194239.6025@newshost.lanl.gov>
- Sender: news@newshost.lanl.gov
- Organization: Los Alamos National Laboratory
- References: <1992Dec12.231501.12788@sol.UVic.CA>
- Date: Mon, 14 Dec 1992 19:42:39 GMT
- Lines: 23
-
- In article <1992Dec12.231501.12788@sol.UVic.CA>, klassen@sol.UVic.CA (Melvin Klassen) writes:
- |> [...]
- |> Page 7 (in "Chapter 1. Language") of "VS FORTRAN Version 2, Language and
- |> Library Reference, Release 5" (SC26-4221-7) states:
- |> In CMS and MVS, if a global name is longer than seven characters,
- |> the first four and last three characters are used to form the
- |> external symbol. The external symbol is then used to identify
- |> the global entity. For example, ...
- |>
- |> In the "Release 3" edition (March 1988) of this manual,
- |> similarly-worded text appears on page 8.
- |>
- |> It seems clear to me!
-
- Yes, quite clear. Clearly bad. I would prefer it to say, "because
- of limitiations in the system environment, global identifiers are limited
- to 7 characters; attempts to declare longer global identifiers result
- in a fatal syntax error." That would be a good implementation. Allowing
- longer names and then altering them to fit is a trap and a source of
- errors which are difficult to find and correct. It is also unnecessary.
-
- --
- J. Giles
-