How to avoid repeated declaration of a variable that has a constant value in subroutines?
For example:
program test
  implicit none
  integer :: n
  integer :: time
  print*, "enter n" ! this will be a constant value for the whole program
  call Calcul(time)
  print*, time  
end program
subroutine Calcul(Time)
  implicit none
  integer :: time 
  ! i don't want to declare the constant n again and again because some times the subroutines have a lot of variables.  
  time = n*2 
end subroutine
Sometimes there are a lot of constants that are defined by the user and I will make a lot of subroutines that use those constants, so I want to stock them and and use them without redefining them again and again.