Path: utzoo!utgpu!attcan!uunet!peregrine!elroy!ames!ncar!oddjob!uxc!uxc.cso.uiuc.edu!uxe.cso.uiuc.edu!mcdonald
From: mcdonald@uxe.cso.uiuc.edu
Newsgroups: comp.lang.fortran
Subject: Re: Maximum Stack Size for a Subprog.?
Message-ID: <50500062@uxe.cso.uiuc.edu>
Date: 9 Aug 88 13:04:00 GMT
References: <47900003@uicsrd.csrd.uiuc.edu>
Lines: 12
Nf-ID: #R:uicsrd.csrd.uiuc.edu:47900003:uxe.cso.uiuc.edu:50500062:000:588
Nf-From: uxe.cso.uiuc.edu!mcdonald    Aug  9 08:04:00 1988


>Hi, Fortran users,
>What is the limit of the dynamic storage --- so-called stack?

Fortran -  and here we are discussing Fortran 66 or Fortran 77 - 
does not have a  "stack" concept. Nowhere in the defining documents
is a "stack" mentioned. All variables in Fortran may be statically
allocated, and no recursion is permitted. On the other hand, 
variables in a function or subroutine may indeed be on some sort
of stack and may disappear on function exit, in the absence of a SAVE
statement (Fortran 77). A legal Fortran program may not assume
the existance of dynamic storage at all.