I want to declare a derived type as a parameter, but cannot work out how to initialise it. Can anybody comment on the following, which generates a number of compilation errors? I can see that the second last line is trying to set up an array rather than the two components of the derived type, but what should the syntax be?
MODULE m1
TYPE t1
CHARACTER(LEN=1) :: c1
CHARACTER(LEN=2) :: c2
END TYPE t1
TYPE(t1), PARAMETER :: a=(/'A','Aa'/)
END MODULE m1