From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:ad4:498d:: with SMTP id t13mr27528218qvx.49.1618933923718; Tue, 20 Apr 2021 08:52:03 -0700 (PDT) X-Received: by 2002:a25:f40f:: with SMTP id q15mr25233678ybd.73.1618933923551; Tue, 20 Apr 2021 08:52:03 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 20 Apr 2021 08:52:03 -0700 (PDT) In-Reply-To: <962020bb-97fc-42c3-8255-8f9b2bcbe204n@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=94.31.102.170; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 94.31.102.170 References: <962020bb-97fc-42c3-8255-8f9b2bcbe204n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: 'address on a subprogram parameter From: AdaMagica Injection-Date: Tue, 20 Apr 2021 15:52:03 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61860 List-Id: I'm not a compiler builder, but pass by referene has always meant, you access the parameter object directly. And of course, the parameter mode does not (and must not) have any influence on the parameter passing method. You can force pass by ref by adding access to the parameter. In most cases, passing method is of no interest, compiler makes the correct choice. RM is silent on most types about this. Tagged types and limited types are always PbR.