🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #6458

Implied do-loop statement, for the next FORTRAN?

#6458
From: Clifton_RL
Date: Sat, 03 Mar 1990 03:06
21 lines
840 bytes
IMPLIED DO-LOOP STATEMENT

Currently, Fortran requires the first character in a statement
to be alpha.  If we allowed an open-bracket character "(" we
could use the implied do-loop construction.  For example:

	(((C(I,J)=A(I,K)*B(K,J) ,K=1,M) ,I=1,M) ,J=1,M)

This clear statement would replace the familiar clutter of:

	DO J etc
	 DO I etc
	  DO K etc
	   C(I,J)= etc
	  ENDDO
	 ENDDO
	ENDDO
	    -plus blank lines an apologetic explanation...


How about it?
Technical Details
Message-ID: <2044.25efa542@admdev.cut.oz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!munnari.oz.au!uniwa!vax6!tcliftonr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!munnari.oz.au!uniwa!vax6!tcliftonr
From: Clifton_RL@admdev.cut.oz
Newsgroups: comp.lang.fortran
Subject: Implied do-loop statement, for the next FORTRAN?
Message-ID: <2044.25efa542@admdev.cut.oz>
Date: 3 Mar 90 03:06:41 GMT
Organization: Curtin University of Technology
Lines: 21