Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!bloom-beacon!apple!bionet!agate!violet.berkeley.edu!jerry From: jerry@violet.berkeley.edu ( Jerry Berkman ) Newsgroups: comp.lang.fortran Subject: Re: Are GOTOs restricted in Fortran 88 Message-ID: <16881@agate.BERKELEY.EDU> Date: 12 Nov 88 01:51:51 GMT References: <4213@pitt.UUCP> <50500088@uxe.cso.uiuc.edu> <41017@aero.ARPA> Sender: usenet@agate.BERKELEY.EDU Organization: University of California, Berkeley Lines: 14 In article <41017@aero.ARPA> campbell@aero.UUCP (L. Andrew Campbell) writes: >... Actually, one can jump >into the lexical range of a DO statement, provided one has jumped out of the >same DO. This is the old concept of "extended range" of a DO. ANSI FORTRAN 77 standard, section 11.10.8: "Transfer of control into the range of a DO-loop from outside the range is not permitted." section 11.10.1: "The range of a DO-loop consists of all of the executable statements that appear following the DO statement that specifies the DO-loop, up to and including the terminal statement of the DO-loop. - Jerry Berkman, UC Berkeley, jerry@violet.berkeley.edu