home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!sdd.hp.com!cs.utexas.edu!sun-barr!olivea!apple!constellation!news
- From: david (David Bourne)
- Newsgroups: comp.lang.fortran
- Subject: DIR from within VAX Fortran
- Keywords: DIR VAX
- Message-ID: <1992Jul29.212842.28989@constellation.ecn.uoknor.edu>
- Date: 29 Jul 92 21:28:42 GMT
- Sender: usenet@constellation.ecn.uoknor.edu (Nets)
- Reply-To: david-bourne@uokhsc.edu (David Bourne)
- Organization: Univ Oklahoma - College of Pharmacy
- Lines: 13
- Originator: news@essex.ecn.uoknor.edu
-
- I have written a program in FORTRAN for the Mac, IBM, and am now porting it
- to the VAX environment. It runs OK with a few problems. At one point I ask
- the user to enter a file name. If the user gets it wrong and the file doesn't
- exist I can give the user the opportunity to do a directory call. With the
- Mac its a standard toolbx call. With MS FORTRAN 5.0 on the IBM I use a pause
- statment which allows the users to enter the DIR *.DAT for example to do a
- directory before reasking for the file name. On the VAX the pause only allows
- the user to enter continue. Anything else aborts the program. Does anyone
- have suggestions for a work around. Thanks.
-
- David Bourne, OU HSC College of Pharmacy
- 1110 N. Stonewall Ave, Oklahoma City, OK, 73117-1223
- (405) 271-6471 david-bourne@uokhsc.edu
-