- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think this has been addressed before.
I know you can specify your own interface by using MODULE and USE statements. In fact this is recommended by Dr. Fortran as the best way to go.
However, what if I specify "Generate interfaces?" Does that negate whatever interface definitions that are already present?
In other words, can I have a MIXTURE of the two, or are they NOT allowed to co-exist?
If they can, Which would have priority?
I might do some experimentation on this, unless there is an article somewhere about it.
I know you can specify your own interface by using MODULE and USE statements. In fact this is recommended by Dr. Fortran as the best way to go.
However, what if I specify "Generate interfaces?" Does that negate whatever interface definitions that are already present?
In other words, can I have a MIXTURE of the two, or are they NOT allowed to co-exist?
If they can, Which would have priority?
I might do some experimentation on this, unless there is an article somewhere about it.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - billsincl
I don't think this has been addressed before.
I know you can specify your own interface by using MODULE and USE statements. In fact this is recommended by Dr. Fortran as the best way to go.
However, what if I specify "Generate interfaces?" Does that negate whatever interface definitions that are already present?
In other words, can I have a MIXTURE of the two, or are they NOT allowed to co-exist?
If they can, Which would have priority?
I might do some experimentation on this, unless there is an article somewhere about it.
I know you can specify your own interface by using MODULE and USE statements. In fact this is recommended by Dr. Fortran as the best way to go.
However, what if I specify "Generate interfaces?" Does that negate whatever interface definitions that are already present?
In other words, can I have a MIXTURE of the two, or are they NOT allowed to co-exist?
If they can, Which would have priority?
I might do some experimentation on this, unless there is an article somewhere about it.
You can certainly have a mixture. The underlying code that does "generate interfaces" only works its magic if there isn't an explicit interface already available.
So, I guess to answer your question, the explicit interface would have priority.
- Lorri

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