Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!news.cs.indiana.edu!ariel.unm.edu!cie.uoregon.edu!scavo From: scavo@cie.uoregon.edu (Tom Scavo) Newsgroups: comp.lang.fortran Subject: global data Message-ID: <1991Jan4.022750.24875@ariel.unm.edu> Date: 4 Jan 91 02:27:50 GMT Sender: news@ariel.unm.edu (News supported software) Reply-To: scavo@cie.uoregon.edu (Tom Scavo) Organization: Campus Information Exchange, University of Oregon Lines: 16 I use PARAMETERs to specify the bounds on array indices, and then pass these constants along with the arrays so that the subprograms know how to dimension them. Of course, with one- dimensional arrays there's absolutely no problem (because I don't need to pass array bounds anyway), but multi-dimensional arrays can be a real pain. Does anyone know how to make these PARAMETERs global so that subprograms have instant access to them, thereby obviating the need for all those arguments? Common doesn't seem to work on PARAMETERs. There must be a better way... Tom Scavo scavo@cie.uoregon.edu