passing arguments to func


awest
11-19-2003, 09:43 AM
Hi, my question is regarding the functions used in F90 version of FRPRMN. I am relatively inexperienced at using NR and F90.

My function requires more arguments than just the vector passed through the call statment (p). Currently I am using a COMMON block to get these arguments into the function, which allows me to use the subroutines, and the various functions contained therein without having to manipulate them. However, I thought that the COMMON block was rather passe, and was trying to figure out a better way to do this (using host association, modules, etc.)

Can anybody help me?

Thanks