- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Someone is asking about moving some Fortran programs into Compaq Fortran. He has a library that works with Lahey that gets command line arguments and gets file/folder info.
Is there an easy way to get these items in Compaq Fortran?
Is there an easy way to get these items in Compaq Fortran?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
GETARG gets command line arguments. GETFILEINFOQQ can get file and folder info,
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the new proposed Fortran standard (unofficially Fortran 2003) there is a standardized way of getting the command line arguments, for example subroutines "Get_command" and "Get_command_argument". You can download implementations of the "F2KCLI" module (Fortran 2K Command Line Interface) for a number of different compilers from, among others, www.winteracter.com/f2kcli/.
In this way you can start using the standard calls right away without having to wait for Fortran 2003.
I use F2KCLI myself for CVF and VMS Fortran.
There is nothing standardized for File folder info, though.
Lars M
In this way you can start using the standard calls right away without having to wait for Fortran 2003.
I use F2KCLI myself for CVF and VMS Fortran.
There is nothing standardized for File folder info, though.
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