Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!homxb!mtuxo!mtune!rutgers!rochester!PT.CS.CMU.EDU!sei!sei.cmu.edu!firth From: firth@sei.cmu.edu.UUCP Newsgroups: comp.lang.fortran Subject: Re: standards question Message-ID: <3053@aw.sei.cmu.edu> Date: Fri, 30-Oct-87 09:29:07 EST Article-I.D.: aw.3053 Posted: Fri Oct 30 09:29:07 1987 Date-Received: Sun, 1-Nov-87 07:50:54 EST References: <141@gtss.UUCP> Sender: netnews@sei.cmu.edu Reply-To: firth@bd.sei.cmu.edu.UUCP (PUT YOUR NAME HERE) Organization: Carnegie-Mellon University, SEI, Pgh, Pa Lines: 17 In article <141@gtss.UUCP> chas@gtss.UUCP (Charles Cleveland) writes: >Does the ANSI F77 standard have anything to say about the what the >following program prints, or is it left up to the implementation? >(Note: I don't care what your machine actually does.) i1=0 call add2(i1,i1) print*,i1 end subroutine add2(i1,i2) i1=i1+1 i2=i2+1 return end Yes it does. The program is not a standard-conforming program, and so its effect, if any, is undefined. [ANSI X3.9-1978 15.9.3.6]