home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21770 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.6 KB  |  37 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!dbased.nuo.dec.com!quark.enet.dec.com!lionel
  3. From: lionel@quark.enet.dec.com (Steve Lionel)
  4. Subject: Re: Recursion in FORTRAN
  5. Message-ID: <1993Jan22.183447.22979@dbased.nuo.dec.com>
  6. Lines: 24
  7. Sender: news@dbased.nuo.dec.com (USENET News System)
  8. Reply-To: lionel@quark.enet.dec.com (Steve Lionel)
  9. Organization: Digital Equipment Corporation, Nashua NH
  10. References: <1jj8enINNqik@gap.caltech.edu> <1993Jan20.180757.2587@pony.Ingres.COM>  <1993Jan21.195804.6787@dbased.nuo.dec.com> <1993Jan22.085253@mccall.com>
  11. Date: Fri, 22 Jan 1993 18:34:47 GMT
  12.  
  13.  
  14. In article <1993Jan22.085253@mccall.com>, tp@mccall.com (Terry Poot) writes:
  15. |>(Steve Lionel) writes:
  16. |>>Relax.  The default behavior hasn't changed.   The compiler sort of gives you
  17. |>>a free "SAVE" if it can't determine that you always store a variable before
  18. |>>using it.  But if you use /RECURSIVE, then variables not explicitly SAVEd
  19. |>>won't be.  Also, /RECURSIVE will eliminate guaranteed initialization to zero;
  20. |>>I've heard one customer consider this a feature, so as to ferret out hidden
  21. |>>bugs. 
  22. |>
  23. |>Thanks, I was worried. I've also got code that counts on guaranteed
  24. |>initialization. I hadn't thought of that. So as long as I don't use /RECURSIVE,
  25. |>I should be OK, right?
  26. |>
  27.  
  28. Right on VAX and Alpha AXP, but not on some other platforms, so in the
  29. interest of portability and correctness, put those initializations in!
  30. --
  31.  
  32. Steve Lionel                    lionel@quark.enet.dec.com
  33. SDT Languages Group
  34. Digital Equipment Corporation
  35. 110 Spit Brook Road
  36. Nashua, NH 03062
  37.