- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am planning to modularize my existing project. I know Interface is the best option for increased scalability of application in .NET & JAVA. Did intel fortran support Interface, if so how to implement that?
Any help would be greatly appreciated
I am planning to modularize my existing project. I know Interface is the best option for increased scalability of application in .NET & JAVA. Did intel fortran support Interface, if so how to implement that?
Any help would be greatly appreciated
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not completely clear to me that what "interface" means in Fortran is what you are asking about, but the simple answer is that Fortran allows you to put procedures in modules, which then requires that the caller of the procedures add a USE statement for the module. This provides an "explicit interface" (Fortran term) that supplies details about the procedure's arguments to the caller. Grouping related procedures and other declarations in modules is the recommended practice in Fortran - it makes the program easier to maintain and allows the compiler to better check for errors. Explicit interfaces are also required to make use of newer language features such as assumed-shape arrays.

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