Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!ames!eos!shelby!neon!mgf From: mgf@Neon.Stanford.EDU (Michael G. Fitzpatrick) Newsgroups: comp.lang.fortran Subject: passing arguments by value?? Message-ID: <1990Jun5.025238.24586@Neon.Stanford.EDU> Date: 5 Jun 90 02:52:38 GMT Sender: mgf@Neon.Stanford.EDU (Michael G. Fitzpatrick) Distribution: na Organization: Computer Science Department, Stanford University Lines: 14 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)