ex1208f.f90
来自「Fortran95的一些有用的源程序」· F90 代码 · 共 22 行
F90
22 行
module typedef
implicit none
type person
integer age
real weight, height
end type
end module
program main
use typedef
implicit none
integer :: a=3
character(len=20) :: str="FORTRAN 95"
type(person) :: p=person(20,70,180)
call sub1(a)
call sub2(str)
call sub3(p)
stop
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?