📄 ex0804.f90
字号:
program ex0804
implicit none
integer :: a = 1
integer :: b = 2
call add(a,b) ! 把变量a及b交给子程序add来处理
stop
end
subroutine add(first, second)
implicit none
integer :: first, second ! first,second的内容会从CALL时得到
write(*,*) first+second
return
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -