Newsgroups: comp.lang.fortran
Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!srvr1!news
From: cys@caen.engin.umich.edu (CAO  YUSONG )
Subject: Fortran commmand line arguments
Message-ID: <1990Jun28.153908.4911@caen.engin.umich.edu>
Sender: news@caen.engin.umich.edu (CAEN Netnews)
Organization: caen
Distribution: usa
Date: Thu, 28 Jun 90 15:39:08 GMT


 I am writting a Fortran program now. I used to be a C programmer.
 In C, one can retrieve information from command line arguments, i.e.

 In program:

 main(argc, argv)
 int argc;
 char **argv;
 {
 ...
 }
 
 Then, argv[0] will be the command name itself, argv[1] will be the first
 argument to the command, etc.

 Is this also possible in Fortran?
 
 Thanks.

 --Jim
