开发者

Stack output concept

I am new FORTRAN user. I want to write the output in stack way without deleting the previous one. Suppose we have three outputs A,B,C for one one one "ELECTRON1". When we run the code for another "ELECTRON2" then all previous o开发者_StackOverflowutputs are over written. So I want to write in a stack way with one blank line.

Please suggest me how I can do it....... I am very greatful to you...

Regards


if you do

write (*,*) a, b,c
then later
write (*, *)
write (*, *) a, b, c

you should see six numbers on your screen, in two lines, separated by a blank line.

Or if you do this in a loop:

do i=1, N
... computations
    write (*, *)
    write (*, *) a, b, c
end do

You should get N lines of 3 numbers separated by blank lines.

Is this what you want?

If not, please clarify your question or post some code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜