Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pass arguments to a program or function, from the console

Status
Not open for further replies.

faeton13

Programmer
Mar 7, 2005
9
0
0
CO
Basicaly what I need is to recieve arguments that are passed from another program.

I have the code on C, but I don't have any idea of how to do this from FORTRAN

For example, in java, you have something like this:

public static void main(String args[]){

}

that way, when you execute the program, you can pass to the main function, some arguments, IS THERE A WAY TO DO THAT IN FORTRAN????

I would appreciate any help anybody can give me on this one

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top