How to do block comment in fortran?

前端 未结 6 1128
-上瘾入骨i
-上瘾入骨i 2021-01-03 21:06

I have seen /* block comment */ for block commenting in C++. I know I can do line commenting by using ! or c, but is there any option

6条回答
  •  被撕碎了的回忆
    2021-01-03 21:52

    A line with a c, C, *, d, D, or ! in column one is a comment line; except that if the -xld option is set, then the lines starting with D or d are compiled as debug lines. The d, D, and ! are nonstandard.

    If you put an exclamation mark (!) in any column of the statement field, except within character literals, then everything after the ! on that line is a comment.

提交回复
热议问题