Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Data Transfer to Fortran

by BrowserUk (Pope)
on Nov 26, 2009 at 19:47 UTC ( #809646=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Data Transfer to Fortran
in thread Data Transfer to Fortran

Supply the path/name of the file on the command line to the fortran program?

my $path = '...'; open OUT, '>', $path or die $!; ## write data to file close OUT; system qq[ fortranProg $path ]; ...

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^4: Data Transfer to Fortran
by snoopy (Deacon) on Nov 26, 2009 at 22:29 UTC
    N.B. Most FORTRAN's (77 onwards) support the getarg and iarg intrinsic functions for reading command line arguments.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://809646]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2016-07-26 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (233 votes). Check out past polls.