home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20619 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.6 KB  |  65 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!mcsun!dxcern!dscomsa!zeus02.desy.de!hallam
  3. From: hallam@zeus02.desy.de (Phill Hallam-Baker)
  4. Subject: Re: Help a student in distress....
  5. Message-ID: <C0KBr5.BrJ@dscomsa.desy.de>
  6. Sender: usenet@dscomsa.desy.de (usenet)
  7. Reply-To: Hallam@zeus02.desy.de
  8. Organization: Deutsches Elektronen Synchrotron, Experiment ZEUS bei HERA
  9. References:  <20242.2b4c180e@ul.ie> <1993Jan7.202903.6170@dbased.nuo.dec.com>
  10. Date: Sat, 9 Jan 1993 01:21:05 GMT
  11. Lines: 52
  12.  
  13. In article <1993Jan7.202903.6170@dbased.nuo.dec.com>, lionel@quark.enet.dec.com
  14. (Steve Lionel) writes:
  15.  
  16. |>In article <20242.2b4c180e@ul.ie>, 9120092@ul.ie writes:
  17. |>|>(1) How come DEC manuals have most of their examples in Fortran?
  18. |>|>
  19. |>
  20. |>They're not; most are in MACRO.  (There - does that make you feel better?
  21. |>:-))
  22. |>
  23. |>The large number of FORTRAN examples relative to other high-level languages
  24. |>comes from several sources:
  25. |>
  26. |>    1.  FORTRAN was the first VMS HLL and is still the most widely
  27. |>        used.
  28. |>
  29. |>    2.  There was a book created called "Programming in VMS using VAX
  30. |>        FORTRAN" which had many FORTRAN examples; some of these migrated
  31. |>        to the regular VMS documentation.
  32. |>
  33. |>    3.  A particular FORTRAN developer (ahem) has been particularly
  34. |>        dilligent in writing such examples and making sure that those
  35. |>        written by others are correct.  (That same developer also wrote
  36. |>        just about all of the Ada examples in the VMS manuals.)  The
  37. |>        Pascal developers have also been active in example creation, but
  38. |>        those from other languages less so.
  39.  
  40. Apart from the C brigade which dominate the X-Windows books for obvious
  41. reasons.
  42.  
  43. The predominance of FORTRAN is quite understandable though. Up to seven years
  44. ago C was not dominant and UNIX just another O/S. FORTRAN was just about the
  45. only language that it could be reasonably expected that most progarmmers would
  46. know.
  47.  
  48. |>|>(3) Does anybody have any working examples of SMG's used in Cobol (cough
  49. |>|>cough)?
  50. |>|>    In particular SMG$CREATE_MENU. I would really appreciate this as the
  51. |>|>    VMS ver 3 manuals that are available to me don't mention a thing
  52. |>|>    about it. I know about it 'cause it's in the Ver 5.? help facility.
  53. |>
  54. |>The SMG$ manual in chapter 7 has a complete COBOL example of using SMG$
  55. |>routines.  I don't know if this was in the VMS Version 3 (?!) manuals you
  56. |>have.  Time to buy some new manuals!
  57.  
  58. Now we see the real reason for the apparent FORTRAN bias. When those manuals
  59. were bought most of the authours were worrying about whether Columbus would fall
  60. of the edge of the world on his great voyage of discovery.
  61.  
  62. --
  63.  
  64. Phill Hallam-Baker
  65.