comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: 'address on a subprogram parameter
Date: Tue, 20 Apr 2021 08:52:03 -0700 (PDT)	[thread overview]
Message-ID: <f97bd55d-ce27-46aa-95c7-961943a5e7fdn@googlegroups.com> (raw)
In-Reply-To: <962020bb-97fc-42c3-8255-8f9b2bcbe204n@googlegroups.com>

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.

  reply	other threads:[~2021-04-20 15:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-20 15:10 'address on a subprogram parameter Vincent Marciante
2021-04-20 15:52 ` AdaMagica [this message]
2021-04-20 17:32   ` Jeffrey R. Carter
2021-04-21  9:19     ` AdaMagica
2021-04-20 17:33   ` Niklas Holsti
2021-04-20 16:35 ` J-P. Rosen
2021-04-20 17:18   ` Vincent Marciante
2021-04-20 19:25     ` Randy Brukardt
2021-04-20 19:41       ` Vincent Marciante
2021-04-24  1:25         ` Randy Brukardt
2021-04-24  9:56           ` Niklas Holsti
2021-04-21 20:17     ` Shark8
2021-04-22  9:54       ` Vincent Marciante
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox