home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21622 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.8 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!mccall!mccall!tp
  2. From: tp@mccall.com (Terry Poot)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Recursion in FORTRAN
  5. Message-ID: <1993Jan21.092628@mccall.com>
  6. Date: 21 Jan 93 15:26:28 GMT
  7. References: <1jj8enINNqik@gap.caltech.edu> <1993Jan20.180757.2587@pony.Ingres.COM> <1993Jan20.195642.13310@dbased.nuo.dec.com>
  8. Reply-To: tp@mccall.com (Terry Poot)
  9. Organization: The McCall Pattern Co., Manhattan, KS, USA
  10. Lines: 23
  11. Nntp-Posting-Host: mis1
  12. Nntp-Posting-User: tp
  13.  
  14.  
  15. In article <1993Jan20.195642.13310@dbased.nuo.dec.com>,
  16. lionel@quark.enet.dec.com (Steve Lionel) writes:
  17. >As of DEC Fortran V6.0 on OpenVMS (currently shipping on Alpha AXP systems,
  18. >soon to come on VAX), SAVE will NOT be a no-op.  So be sure to use it if you
  19. >want the value saved upon exit from the routine.  Note that SAVE does not
  20. >necessarily mean "static allocation"; there is a STATIC statement for that.
  21. >(In practical terms, SAVE does cause static allocation, but you should say
  22. >what you mean and mean what you say.)
  23.  
  24. I want to be real clear about this (I hear the sound of 200,000 lines of legacy
  25. fortran code shattering to little bits). As of v6.0, values not explicitly
  26. mentioned in a SAVE statement can not be guaranteed to survive from call to
  27. call, right? Any qualifiers to preserve the current behavior?
  28.  
  29. Of course, *I* don't write code this way, but I didn't write most of the stuff I
  30. support, and I haven't attempted to go into all our code and find where it needs
  31. SAVE statements (it needs lots of them). (Time to read up on SCA's inspect
  32. command, I guess.)
  33. --
  34. Terry Poot <tp@mccall.com>                   The McCall Pattern Company
  35. (uucp: ...!rutgers!depot!mccall!tp)          615 McCall Road
  36. (800)255-2762, in KS (913)776-4041           Manhattan, KS 66502, USA
  37.