- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there an easy way to create individual files from a file that contains multiple Functions and/or Subroutines. For example, if I have a file called Programx.for that contains 20 subroutines, is there a way to break that file up into 20 individual files, each with its own Subroutine_name.for ? I know I could do this manually, but I am hoping there is a more automated technique.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have CVF, there are tools called FSPLIT and FSPLIT90 provided (just start a Fortran Command Prompt session and they'll be available for you) that will do this. FSPLIT90 is for free-form source.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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