- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In accordance with Steve Lionel's mantra: "always use explicit interfaces", (search for 'Integer length issues between program and subroutine' in the forum), I've written a perl script that creates module interfaces from code. You feed it an argumentlike *.f90 and it produces, to the screen or a file, a set of interfaces for all modules it finds in the source. Surround that with an interface statement, and yer good to go.
The attached zipfile contains the .pl file and a .txt file with some notes. There are limitations, of course. (As Yogi Berra did or didn't say: "His limitations are limitless"). If you have problems (.f90 format only -- see the notes), get back to me through the forum.
Link Copied
0 Replies

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