>You really should not have global data. Modules are the way to go and have been since Fortran90.
Legacy code, just have to deal with it. This code predates F90.