Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!pwa-b!mmintl!franka From: franka@mmintl.UUCP (Frank Adams) Newsgroups: net.lang.c Subject: Re: nonzero lower bounds in arryas Message-ID: <1539@mmintl.UUCP> Date: Tue, 3-Jun-86 13:46:43 EDT Article-I.D.: mmintl.1539 Posted: Tue Jun 3 13:46:43 1986 Date-Received: Thu, 5-Jun-86 08:06:24 EDT References: <1594@ecsvax.UUCP> <853@bentley.UUCP> <1621@ecsvax.UUCP> <900@ttrdc.UUCP> <2157@mit-eddie.MIT.EDU> <1775@umcp-cs.UUCP> Reply-To: franka@mmintl.UUCP (Frank Adams) Organization: Multimate International, E. Hartford, CT Lines: 15 >>>By the way, this does raise a question in my mind about how the convention >>>of 1, not 0, being the lower bound subscript for an array is gotten around >>>efficiently in implementations of Fortran. [levy] > >>In the case of one-dimensional arrays, of course, it can be handled at >>compile time. [barmar] > >Actually, in all cases it can be handled at compile time, [Chis Torek] Not in the multidimensional case when one of the dimensions (other than the last) is a variable. However, every FORTRAN compiler I have worked with does do this simplification when possible. Frank Adams ihnp4!philabs!pwa-b!mmintl!franka Multimate International 52 Oakland Ave North E. Hartford, CT 06108