5 module soop_stars_class
8 real ,dimension(:,:) ,allocatable
:: position
11 type(soop_stars
) :: rocket
14 function new_show(boom
)
15 type(soop_stars
) ,intent(in
) :: boom
16 type(show
) :: new_show
17 new_show
%rocket
= boom
25 type(soop_stars
) :: fireworks
26 type(show
), allocatable
:: july4
28 allocate (fireworks
%position(2,2))
29 fireworks
%position
= 33.0
31 july4
= new_show(boom
=fireworks
)