🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #4441

Re: Fortran comments

#4441
From: Craig Burley
Date: Sun, 30 Jun 1991 05:39
15 lines
1161 bytes
In article <145298@unix.cis.pitt.edu> yding@unix.cis.pitt.edu (Yijun Ding ) writes:

   I would like to use the following style to comment Fortran file:

	   a=1    ! Theis is a comment

   i.e., by using '!' character. Is this standard in Fortran statement?

Not in ANSI standard FORTRAN 77.  Many vendors support it, however, and/or
use of '/*' (with or without a terminating '*/' -- I don't remember seeing
any implementations that supported a terminating '*/', however, but I suspect
there are some) as a comment delimiter.
--

James Craig Burley, Software Craftsperson    burley@gnu.ai.mit.edu
Technical Details
Message-ID: <BURLEY.91Jun30013949@pogo.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!ai-lab!life!burley
References: <145298@unix.cis.pitt.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!ai-lab!life!burley
From: burley@pogo.gnu.ai.mit.edu (Craig Burley)
Newsgroups: comp.lang.fortran
Subject: Re: Fortran comments
Message-ID: <BURLEY.91Jun30013949@pogo.gnu.ai.mit.edu>
Date: 30 Jun 91 05:39:49 GMT
References: <145298@unix.cis.pitt.edu>
Sender: news@ai.mit.edu
Distribution: usa
Organization: Free Software Foundation 545 Tech Square Cambridge, MA 02139
Lines: 15
In-reply-to: yding@unix.cis.pitt.edu's message of 27 Jun 91 16:59:09 GMT