📄 strcommon_1.f90
字号:
! PR14081 character variables in common blocks.subroutine test1 implicit none common /block/ c character(len=12) :: c if (c .ne. "Hello World") call abortend subroutinesubroutine test2 implicit none common /block/ a character(len=6), dimension(2) :: a if ((a(1) .ne. "Hello") .or. (a(2) .ne. "World")) call abortend subroutineprogram strcommon_1 implicit none common /block/ s, t character(len=6) :: s, t s = "Hello " t = "World " call test1 call test2end program
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -