Deutsch   English   Français   Italiano  
<viqd1m$12u2e$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Thomas Koenig <tkoenig@netcologne.de>
Newsgroups: comp.lang.fortran
Subject: Re: writing a module file in gfortran 14
Date: Wed, 4 Dec 2024 20:11:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <viqd1m$12u2e$1@dont-email.me>
References: <vio2n4$d19a$1@dont-email.me>
Injection-Date: Wed, 04 Dec 2024 21:11:34 +0100 (CET)
Injection-Info: dont-email.me; posting-host="58329f68db3e786702d77dfaa6cde6f6";
	logging-data="1144910"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX194XeiZfd4cEBoPYuzh+Gv58bMtiyuLXss="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Sviwu1frZ04Cc2vEygSn/Tm5mtY=
Bytes: 1333

Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
> Is the "implicit none" in the proper place in the following code ?

No.

[snip]

You want

>       module aaa_modules
>
>            implicit none
>
>            INTERFACE
>              SUBROUTINE ABCPAR(ISW,IRETST,IR,IC,PAR,IPHASE)
                 IMPLICIT NONE

....

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).