大神们我又来了。代码如下:[Fortran] 纯文本查看 复制代码 type Subblocks
integer*4 :: row
integer*4 :: coL
end type Subblocks
[Fortran] 纯文本查看 复制代码 type blocks
integer*4 :: row1,row2,coL1,coL2
integer*4 :: rowm,coLm
integer*4 :: dad
integer*4 :: son(4)
integer*4 :: bnum
type(Subblocks), allocatable :: iSubblocks(:)
end type blocks
[Fortran] 纯文本查看 复制代码 type(blocks), allocatable :: iblocks(:)
这段声明我是想完成这样一个操作:iblocks(i)%isubblocks(j)%coL
我想输出iblocks(i)、iblock(i)%isubblocks(j)、isubblocks(i)都是整数,想问问应该怎么声明呢?
|