yding@unix.cis.pitt.edu (Yijun Ding ) (06/27/91)
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? Your answer is appreciated -- Yijun Ding
burley@pogo.gnu.ai.mit.edu (Craig Burley) (06/30/91)
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