Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site boring.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!boring!ken From: ken@boring.UUCP Newsgroups: net.lang Subject: Re: does Fortran 77 allow recursion? Message-ID: <6600@boring.UUCP> Date: Mon, 26-Aug-85 12:55:23 EDT Article-I.D.: boring.6600 Posted: Mon Aug 26 12:55:23 1985 Date-Received: Wed, 28-Aug-85 21:17:25 EDT References: <103600003@ima.UUCP> <1349@umcp-cs.UUCP> Reply-To: ken@mcvax.UUCP (Amoeba #117) Organization: Amoeba Project, CWI, Amsterdam Lines: 15 Apparently-To: rnews@mcvax.LOCAL In article <1349@umcp-cs.UUCP> mangoe@umcp-cs.UUCP (Charley Wingate) writes: >Static allocation is also enforced by the common use of data statements to >initialize variables which are then changed during calls to the subroutine. >Every Fortran compiler I've ever seen allocates storage so that the >changed values persist Note that nowhere in the Fortran standard is such persistence sanctioned unless the storage resides in COMMON, which must also be present in some outine in the current calling chain. Think about overlays (ick!) and you will see why this restriction exists. Ken -- UUCP: ..!{seismo,okstate,garfield,decvax,philabs}!mcvax!ken Voice: Ken! Mail: Centrum voor Wiskunde en Informatica, Kruislaan 413, 1098 SJ, Amsterdam.