Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!magnus.ircc.ohio-state.edu!csn!ub!acsu.buffalo.edu From: xiaofei@acsu.buffalo.edu (Xiaofei Wang) Newsgroups: comp.lang.fortran Subject: Read dimension Message-ID: <61477@eerie.acsu.Buffalo.EDU> Date: 23 Feb 91 23:19:32 GMT Sender: news@acsu.Buffalo.EDU Organization: SUNY Buffalo Lines: 14 Nntp-Posting-Host: autarch.acsu.buffalo.edu I have this question for a long time: main program parameter(m=10,n=5) real a(m,n) call subroutine(a,b) end I don't want to put m=10 n=5 to the program, I would like to read into the program. so that I don't have to change program every time. However a(m,n) has to be defined before read. -- xiaofei@acsu.buffalo.edu / rutgers!ub!xiaofei / v118raqa@ubvms.bitnet