home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / fortran / 4849 < prev    next >
Encoding:
Internet Message Format  |  1992-12-27  |  2.4 KB

  1. Path: sparky!uunet!wupost!uwm.edu!csd4.csd.uwm.edu!jgd
  2. From: jgd@csd4.csd.uwm.edu (John G Dobnick)
  3. Newsgroups: comp.lang.fortran
  4. Subject: Re: Real Programmers
  5. Date: 27 Dec 1992 08:05:20 GMT
  6. Organization: University of Wisconsin - Milwaukee
  7. Lines: 50
  8. Message-ID: <1hjo40INNa58@uwm.edu>
  9. References: <DODD.92Dec16085820@mycenae.cchem.berkeley.edu>
  10. Reply-To: jgd@csd4.csd.uwm.edu
  11. NNTP-Posting-Host: 129.89.7.4
  12. Originator: jgd@csd4.csd.uwm.edu
  13.  
  14. From article <DODD.92Dec16085820@mycenae.cchem.berkeley.edu>, by dodd@mycenae.cchem.berkeley.edu (Lawrence R. Dodd):
  15. > So we have
  16. > 85367 FORMAT(1H 100(3H:-))/1H 23HFOR THE HUMOR-IMPAIRED.)
  17. >       WRITE(6,85367)
  18. > as the final entry in the US and
  19. > 85367 FORMAT(1H 100(3H:-))/1H 24HFOR THE HUMOUR-IMPAIRED.)
  20. >       WRITE(6,85367)
  21. > as the final entry in the England
  22. >  
  23.  
  24. On a venerable FORTRAN system I once used, the above would result in
  25. the I/O error message "RECORDS EXCEEDING MAXIMUM LENGTH ARE FAULTY".
  26. Why?  The printer (unit 6) is only 132 columns wide.  The FORMAT
  27. specifies a record 301 characters long.  Obviously, something has got to
  28. give.
  29.  
  30. Oh, an optimization (optimisation?).  Coalesce the 1H 23into 24H FOR...
  31. (or 25H FOR... for you Brits).  Remember, conservation of card columns
  32. and minimization [minimisation] of keystrokes are essential!
  33.  
  34. Oh, and for the person who suggested typing your program in the
  35. character set of the keypunch (assuming a "commercial" character set
  36. and not the FORTRAN H set), that's for wusses.   Real Programmers
  37. remembered which _physical_ keys produced the proper hole combinations,
  38. and used _those_ keys, ignoring the somewhat "strange" graphics at the
  39. top of the card.  (So what if  ()+'= printed as %^&@# -- _you_ knew
  40. what they really were. [I sure hope I got that translation right --
  41. it's been a while.]  BTW, "^" is really supposed to be the "lozenge"
  42. character, but my ASCII keyboard seems to be lacking that particular
  43. graphic, so... :-).)
  44.  
  45. Of course, _masochistic_ Real Programmers used the 024 keypunch -- the
  46. one lacking the printer mechanism. :-)
  47.  
  48.  
  49. [Point of information: Said "venerable FORTRAN" mentioned above was
  50. FORTRAN V, on a Univac 1108.]
  51.  
  52. -- 
  53. John G Dobnick                          ATTnet: (414) 229-5727
  54. Computing Services Division             INTERNET: jgd@uwm.edu
  55. University of Wisconsin - Milwaukee     UUCP: uunet!uwm!jgd
  56.  
  57. "Knowing how things work is the basis for appreciation,
  58. and is thus a source of civilized delight."  -- William Safire
  59.