Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用用户定义的类型,例如foo:
foo
type, public :: foo integer :: a(4) end type foo
和该类型的变量x:
x
type(foo) :: x
是x%a数组部分吗?
x%a
不。
x%a(:) 是一个数组部分,x%a 指的是整个数组。