How to do block comment in fortran?

前端 未结 6 1160
-上瘾入骨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:44

    You can do a little hack though:

    go to 100
     ! CHUNK OF CODE YOU WANT TO COMMENT OUT
    100 continue
    

    Yeah, I know it's horrible but it works. :)

提交回复
热议问题