args.f90

来自「linux下编程用 编译软件」· F90 代码 · 共 23 行

F90
23
字号
! Program to test procudure argssubroutine test (a, b)   integer, intent (IN) :: a   integer, intent (OUT) :: b   if (a .ne. 42) call abort   b = 43end subroutineprogram args   implicit none   external test   integer i, j   i = 42   j = 0   CALL test (i, j)   if (i .ne. 42) call abort   if (j .ne. 43) call abort   i = 41   CALL test (i + 1, j)end program

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?