由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - fortran problem
相关主题
Vi看来不是很适合编辑Fortran程序啊,不如emacs!visual fortran区别6位以上的变量名吗?
谁最近买国FORTRAN的COMPILER,FOR WINDOWS,请介绍一下。problem about Fortran 77 in unix
How to install 32 bit app in 64 bit system? (转载)关于C和Fortran: 一点儿个人观点
Gfortran libraryfortran搞计算还是简单多了
<>全书下载how to indent a fortran code in visual studio
where to down a standard Fortran90 complier?请教Unix中怎么编译Fortun文件
Write In Csomething strange in fortran90
偶也问一fortran问题关于adaptive grid size的问题
相关话题的讨论汇总
话题: fortran话题: f90话题: comment话题: do话题: code
进入Computation版参与讨论
1 (共1页)
t*****o
发帖数: 74
1
hello,
Is there any simple way to comment out a large part of code in fortran instead
of typing 'c' at the begin of each line?
like in c++, we can use /* ... */
thanks a lot!!!
t********p
发帖数: 1
2
try goto LABEL

instead

【在 t*****o 的大作中提到】
: hello,
: Is there any simple way to comment out a large part of code in fortran instead
: of typing 'c' at the begin of each line?
: like in c++, we can use /* ... */
: thanks a lot!!!

s*****l
发帖数: 167
3
some editors do that.

【在 t********p 的大作中提到】
: try goto LABEL
:
: instead

t*****o
发帖数: 74
4
Thanks
could you tell me which editor? and how to do it? thanks

but I don't want to compile those lines

【在 s*****l 的大作中提到】
: some editors do that.
f****r
发帖数: 27
5
emacs

【在 t*****o 的大作中提到】
: Thanks
: could you tell me which editor? and how to do it? thanks
:
: but I don't want to compile those lines

a******s
发帖数: 232
6
I know you can even do it in CVF on windows, not to say vi,emacs.

【在 t*****o 的大作中提到】
: Thanks
: could you tell me which editor? and how to do it? thanks
:
: but I don't want to compile those lines

s*****l
发帖数: 167
7
xemacs or emacs can certainly do that provided that you give the
correct .f or .f90 extension. You can select the code and
comment it out

【在 t*****o 的大作中提到】
: Thanks
: could you tell me which editor? and how to do it? thanks
:
: but I don't want to compile those lines

t*****o
发帖数: 74
8
thanks a lot. I got it!

fortran

【在 s*****l 的大作中提到】
: xemacs or emacs can certainly do that provided that you give the
: correct .f or .f90 extension. You can select the code and
: comment it out

t*****o
发帖数: 74
9
thanks

【在 a******s 的大作中提到】
: I know you can even do it in CVF on windows, not to say vi,emacs.
t*******t
发帖数: 1067
10
If you use emacs to edit the code, you can easily do it.
If your code is .f90, you can find F90 on the menu, so highlight the part
you want to comment out, then point mouse to F90 on the menu, you can
find an option named "Comment-out region", then click it. You can also
easily uncomment it. If your code is .f, you can find fortran on the menu,
then do it in the same way.

instead

【在 t*****o 的大作中提到】
: hello,
: Is there any simple way to comment out a large part of code in fortran instead
: of typing 'c' at the begin of each line?
: like in c++, we can use /* ... */
: thanks a lot!!!

1 (共1页)
进入Computation版参与讨论
相关主题
关于adaptive grid size的问题<>全书下载
How to read data written my MPI_WRITE?where to down a standard Fortran90 complier?
The article about the infamous COME FROM statement.Write In C
Re: anyone know how to compile a libary coded in c which any be used b偶也问一fortran问题
Vi看来不是很适合编辑Fortran程序啊,不如emacs!visual fortran区别6位以上的变量名吗?
谁最近买国FORTRAN的COMPILER,FOR WINDOWS,请介绍一下。problem about Fortran 77 in unix
How to install 32 bit app in 64 bit system? (转载)关于C和Fortran: 一点儿个人观点
Gfortran libraryfortran搞计算还是简单多了
相关话题的讨论汇总
话题: fortran话题: f90话题: comment话题: do话题: code