Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!ub!boulder!ccncsu!handel.CS.ColoState.Edu!flatau From: flatau@handel.CS.ColoState.Edu (flatau) Newsgroups: comp.lang.fortran Subject: How to load executables and transfer variable name to FORTRAN Message-ID: <8386@ccncsu.ColoState.EDU> Date: 8 Aug 90 17:35:35 GMT Sender: news@ccncsu.ColoState.EDU Reply-To: flatau@handel.UUCP (flatau) Organization: Colorado State University, Fort Collins, CO 80523 Lines: 22 Say, I have a file "prog.f" program main character*8 name ... possibly missing code ... (see explanation below) open(8,file=name, status='old') stop end Compile it as (UNIX): f77 prog.f -o prog and execute "prog" with a parameter, e.g. prog 'file.dat' Is the above possible (loading step) ? Is there a way to assign "name" to 'file.dat' from within a fortran code ? How should I modify "prog.f" to make it work ? flatau@handel.cs.colostate.edu