use mymod1 use MyMod2 implicit none integer, parameter :: testVar = myModVal1 + myModVal2 end program