Program subString
implicit none
character(len=20):: str = "hello, world!"
write(*,*) str(2:2)
write(*,*) str(2:7)
End program subString
fcode 发表于 2023-3-9 15:38
对编译环境的操作可能还不太熟悉,看起来像是:
你打开了一个源代码 a,但是工程中编译的却是另一个源代码 ...
khd21 发表于 2023-3-9 23:19
啊,没太看懂,可以详细讲讲吗,多谢
欢迎光临 Fortran Coder (http://bbs.fcode.cn/) | Powered by Discuz! X3.2 |