如何在fortran中阻止评论? [英] How to do block comment in fortran?

查看:30
本文介绍了如何在fortran中阻止评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我见过 /* 块注释 */ 用于 C++ 中的块注释.我知道我可以使用 !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天全站免登陆