4 integer, parameter :: n
=5, m
=3
5 character(len
=5), dimension(n
) :: a
6 character(len
=5), dimension(n
,m
) :: b
7 character(len
=5) :: res
8 integer, dimension(n
,m
) :: v
9 real, dimension(n
,m
) :: r
11 logical, dimension(n
,m
) :: mask
12 character(len
=5), dimension(:,:), allocatable
:: empty
13 character(len
=5) , parameter :: all_full
= achar(255) // achar(255) // achar(255) // achar(255) // achar(255)
16 write (unit
=a
,fmt
='(I5.5)') (21-i
*i
+6*i
,i
=1,n
)
18 if (res
/= '00026') STOP 1
22 if (count(v
< 30) > 1) exit
24 write (unit
=b
,fmt
='(I5.5)') v
25 write (unit
=res
,fmt
='(I5.5)') minval(v
)
26 if (res
/= minval(b
)) STOP 2
28 if (res
/= minval(b
, smask
)) STOP 3
30 if (all_full
/= minval(b
, smask
)) STOP 4
33 write (unit
=res
,fmt
='(I5.5)') minval(v
,mask
)
34 if (res
/= minval(b
, mask
)) STOP 5
36 if (minval(b
, mask
) /= all_full
) STOP 6
37 allocate (empty(0:3,0))
39 if (res
/= all_full
) STOP 7