ex1202f.f90
来自「Fortran95的一些有用的源程序」· F90 代码 · 共 25 行
F90
25 行
module cprog
interface
subroutine SUBA(a)
!DEC$ ATTRIBUTES C, ALIAS:'_sub1' :: SUBA
integer :: a
!DEC$ ATTRIBUTES REFERENCE :: a
end subroutine
subroutine SUBB(a)
!DEC$ ATTRIBUTES C, ALIAS:'_sub2' :: SUBB
integer :: a
!DEC$ ATTRIBUTES VALUE :: a
end subroutine
end interface
end module cprog
program main
use cprog
implicit none
integer :: a=10
call SUBA(a)
call SUBB(a)
stop
end program
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?