module
module2 implicit none ! integer1 and integer3 cannot be made public w/o ONLY clause ! integer2 and integer4 can be made public integer, private :: integer1, integer2 integer :: integer3, integer4 private :: integer4, integer3 end module |
module module2 implicit none ! integer1 and integer3 cannot be made public w/o ONLY clause ! integer2 and integer4 can be made public integer, private :: integer2 integer, public :: integer1 integer :: integer3, integer4 private :: integer4, integer3 end module |