| 1 |
module mymod2 |
| 2 |
use mymod1 |
| 3 |
implicit none |
| 4 |
|
| 5 |
integer, parameter :: myModVal2 = 2 |
| 6 |
|
| 7 |
contains |
| 8 |
subroutine showvalues() |
| 9 |
print*, "myModVal1 = ", myModVal1 |
| 10 |
print*, "myModVal2 = ", myModVal2 |
| 11 |
end subroutine showvalues |
| 12 |
|
| 13 |
|
| 14 |
end module mymod2 |