ex0813.f90
来自「fortran 95书的源程序全集」· F90 代码 · 共 16 行
F90
16 行
program ex0813
implicit none
real a
common a ! 把浮点数a放在全局变量中
a = 1.0
call ShowCommon()
stop
end
subroutine ShowCommon()
implicit none
integer a
common a ! 把整数a放在全局变量中
write(*,*) a
return
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?