home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- 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
- From: lionel@quark.enet.dec.com (Steve Lionel)
- Subject: Re: Recursion in FORTRAN
- Message-ID: <1993Jan22.183447.22979@dbased.nuo.dec.com>
- Lines: 24
- Sender: news@dbased.nuo.dec.com (USENET News System)
- Reply-To: lionel@quark.enet.dec.com (Steve Lionel)
- Organization: Digital Equipment Corporation, Nashua NH
- References: <1jj8enINNqik@gap.caltech.edu> <1993Jan20.180757.2587@pony.Ingres.COM> <1993Jan21.195804.6787@dbased.nuo.dec.com> <1993Jan22.085253@mccall.com>
- Date: Fri, 22 Jan 1993 18:34:47 GMT
-
-
- In article <1993Jan22.085253@mccall.com>, tp@mccall.com (Terry Poot) writes:
- |>(Steve Lionel) writes:
- |>>Relax. The default behavior hasn't changed. The compiler sort of gives you
- |>>a free "SAVE" if it can't determine that you always store a variable before
- |>>using it. But if you use /RECURSIVE, then variables not explicitly SAVEd
- |>>won't be. Also, /RECURSIVE will eliminate guaranteed initialization to zero;
- |>>I've heard one customer consider this a feature, so as to ferret out hidden
- |>>bugs.
- |>
- |>Thanks, I was worried. I've also got code that counts on guaranteed
- |>initialization. I hadn't thought of that. So as long as I don't use /RECURSIVE,
- |>I should be OK, right?
- |>
-
- Right on VAX and Alpha AXP, but not on some other platforms, so in the
- interest of portability and correctness, put those initializations in!
- --
-
- Steve Lionel lionel@quark.enet.dec.com
- SDT Languages Group
- Digital Equipment Corporation
- 110 Spit Brook Road
- Nashua, NH 03062
-