🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.f77
Article #387

possible implied-do bug?

#387
From: Stephen Kenkel
Date: Tue, 24 Jun 1986 16:23
18 lines
979 bytes
The following program compiles under VMS fortran, but not
f77:

	  dimension l(10),m(10),n(10)
          write (*, * ) i,((l(k), m(k), n (k)), k=1,10)
	  end

This version works:

	  dimension l(10),m(10),n(10)
          write (*, * ) i,(l(k), m(k), n (k), k=1,10)
	  end

The extra parenthesis around the items in the implied do list
appears to be causing trouble.  Is this a bug, or is the compiler
in compliance with the standard?

Thanks.
Technical Details
Message-ID: <1452@alvin.mcnc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!mcnc!kenkel

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!mcnc!kenkel
From: kenkel@mcnc.UUCP (Stephen Kenkel)
Newsgroups: net.lang.f77
Subject: possible implied-do bug?
Message-ID: <1452@alvin.mcnc.UUCP>
Date: Tue, 24-Jun-86 12:23:51 EDT
Article-I.D.: alvin.1452
Posted: Tue Jun 24 12:23:51 1986
Date-Received: Thu, 26-Jun-86 04:22:26 EDT
Organization: Microelectronics Center of NC; RTP, NC
Lines: 18
Keywords: implied do, parenthesis