[J3] INTENT part of Explicit Interface?

Klemm, Michael Michael.Klemm at amd.com
Tue Sep 24 02:44:58 UTC 2024


[AMD Official Use Only - AMD Internal Distribution Only]

Hi all,

Thanks for pointing me to the right places and the explanation!

Kind regards,
        -michael


From: J3 <j3-bounces at mailman.j3-fortran.org> On Behalf Of Van Snyder via J3
Sent: Monday, September 23, 2024 4:54 AM
To: j3 at mailman.j3-fortran.org
Cc: Van Snyder <van.snyder at sbcglobal.net>
Subject: Re: [J3] INTENT part of Explicit Interface?

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

On Sun, 2024-09-22 at 13:08 +0000, Klemm, Michael via J3 wrote:
[No sure of the earlier email left my computer. Outlook...]

Hi all,

I have another question about INTENT attributes.  Are they part of the visible interface of a subroutine or are they only visible inside the subroutine?  I'm asking this to understand if adding INTENT(IN) to a dummy argument of an existing subroutine is a breaking change or not.

Who would I find this in the standard document or other attributes?

15.3.1 says the characteristics of a procedure include the characteristics of its dummy arguments. 15.3.2.2 says the characteristics of dummy data objects include their intent.


Kind regards,
        -michael

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20240924/0a011b9b/attachment.htm>


More information about the J3 mailing list