home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / fortran / 2873 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.3 KB

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