Liste des Groupes | Revenir à cl fortran |
On 12/4/2024 2:11 PM, Thomas Koenig wrote:The interface is its own entity. I think the design is correct in requiring the implicit none to be repeated. While I might have preferred a "file scope" design more, as long as there is consistency in the design, I'm ok with it.Lynn McGuire <lynnmcguire5@gmail.com> schrieb:Woof ! I was afraid of that. The Fortran Module definition seems to be very fragile.Is the "implicit none" in the proper place in the following code ?>
No.
>
[snip]
>
You want
>module aaa_modulesIMPLICIT NONE
>
implicit none
>
INTERFACE
SUBROUTINE ABCPAR(ISW,IRETST,IR,IC,PAR,IPHASE)
>
...
>
because declarations in the outer module have no meaning on
interfaces.
>
A rather frequent source of confusion, I'm afraid (I got bitten
by this myself in the past).
That is going to be painful to add to my module file.
Lynn
Date | Sujet | # | Auteur | |
4 Dec 24 | ![]() | 11 | Lynn McGuire | |
4 Dec 24 | ![]() ![]() | 10 | Thomas Koenig | |
4 Dec 24 | ![]() ![]() ![]() | 8 | Lynn McGuire | |
5 Dec 24 | ![]() ![]() ![]() ![]() | 7 | Gary Scott | |
5 Dec 24 | ![]() ![]() ![]() ![]() ![]() | 5 | Lawrence D'Oliveiro | |
5 Dec 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Gary Scott | |
5 Dec 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Lynn McGuire | |
7 Dec 24 | ![]() ![]() ![]() ![]() ![]() ![]() | 2 | Steven G. Kargl | |
7 Dec 24 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 1 | Lawrence D'Oliveiro | |
8 Dec 24 | ![]() ![]() ![]() ![]() ![]() | 1 | Lynn McGuire | |
7 Dec 24 | ![]() ![]() ![]() | 1 | Steven G. Kargl |
Les messages affichés proviennent d'usenet.