- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I wrote a f90 program. I would like to execute it using the dos commands window. I need to pass two arguments to this program. How can I pass arguments to a f90 program (I said program and not subroutine or function)?
Best regards,
Didace
I wrote a f90 program. I would like to execute it using the dos commands window. I need to pass two arguments to this program. How can I pass arguments to a f90 program (I said program and not subroutine or function)?
Best regards,
Didace
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See the NARGS and GETARG procedures in the IFPORT module (IVF) or in the DFLIB module (CVF).
Another option, which I prefer myself,is to get the Fortran 2003 standard interface (module F2KCLI) from
After all, this has to be implemented eventually, on all standard conforming compilers so you will be completely portable using it.
Lars M
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page