pmk
unread,Jun 4, 2022, 12:37:01 PM6/4/22You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
module m
integer :: name_in_module = 123
end module
use m, name_in_program => name_in_module
namelist /nl/ name_in_program
write(*,nl)
end
I have 3 compilers that emit NAME_IN_MODULE and four that emit NAME_IN_PROGRAM. I think that the latter is correct due to "Each object designator shall begin with a name from the namelist-group-object-list (8.9) ..." in 13.11.2.