如何在Fortran中执行块注释? [英] How to do block comment in fortran?

查看:196
本文介绍了如何在Fortran中执行块注释?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C ++中看到了 / * block comment * / 用于块注释。我知道我可以通过使用 c 来进行行注释,但在Fortran中是否有任何选项可用于块注释?

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 for block commenting in Fortran?

推荐答案

不,块评论的奇怪概念与Fortran不同。您的编辑器或开发环境可能提供一种方式来一次性评论一行代码。

No, the strange concept of block comments is alien to Fortran. Your editor or development environment might provide a way to comment a block of lines in one go.

这篇关于如何在Fortran中执行块注释?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆