mgf@Neon.Stanford.EDU (Michael G. Fitzpatrick) (06/05/90)
I wish to do the following... function f (array) integer array(5,5) ... with array being an address to a block of memory passed to the function. The problem now is that fortran passes the argument by reference and dimensions the parameter array based on the address of array, not its contents (which I want). Since there is no pass by value, does anyone know of some workaround. I am working with SUN fortran 77. Thanks, Mike Fitzpatrick (mgf@neon.stanford.edu)