home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / fortran / 4699 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.5 KB  |  35 lines

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