home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / fortran / 4313 < prev    next >
Encoding:
Internet Message Format  |  1992-11-13  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!olivea!charnel!sifon!newsflash.concordia.ca!nstn.ns.ca!cs.dal.ca!biome!silvert
  2. From: silvert@biome.bio.ns.ca (Bill Silvert)
  3. Newsgroups: comp.lang.fortran
  4. Subject: Re: Environment Variables, and argv, argc
  5. Keywords: environment variables
  6. Message-ID: <1992Nov13.133747.23454@biome.bio.ns.ca>
  7. Date: 13 Nov 92 13:37:47 GMT
  8. References: <carlson.721603147@cwis>
  9. Reply-To: silvert@biome.bio.dfo.ca (Bill Silvert)
  10. Distribution: na
  11. Organization: Habitat Ecology Div., Bedford Inst. Oceanography
  12. Lines: 14
  13.  
  14. In <carlson.721603147@cwis> carlson@cwis.unomaha.edu (Brian D. Carlson) writes:
  15.  
  16. >    I am using fortran 77 (Lahey), however, I'm more used to C. 
  17.  
  18. >    Can anybody give me a quick clue about how to get DOS environment
  19. >variables in a Fortran program. Also, you does one go about grabbing the 
  20. >command line arguments.
  21.  
  22. The Lahey function getcl(buffer) copies the command line into a string buffer.
  23. -- 
  24. ------------------------------------------------------------------------
  25. William Silvert, Habitat Ecology Division, Bedford Inst. of Oceanography
  26. P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2.  Tel. (902)426-1577
  27. InterNet Address: silvert@biome.bio.dfo.ca
  28.