comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: 'address on a subprogram parameter
Date: Wed, 21 Apr 2021 02:19:51 -0700 (PDT)	[thread overview]
Message-ID: <6c3692a2-4e67-4d4e-8e8d-9807383fc050n@googlegroups.com> (raw)
In-Reply-To: <s5n36m$6ee$2@dont-email.me>

Jeffrey R. Carter schrieb am Dienstag, 20. April 2021 um 19:32:08 UTC+2:
> On 4/20/21 5:52 PM, AdaMagica wrote: 
> > You can force pass by ref by adding access to the parameter.
> I hope you meant to say "aliased", not "access". "Access" does not force pass by 
> reference; it forces pass by copy because access types are always passed by copy. 

Of course you're right. Sorry for the confusion.
The access value is passed by copy, if you then dereference, you get at the actual object.
I reall meant alias.

  reply	other threads:[~2021-04-21  9:19 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
2021-04-20 17:32   ` Jeffrey R. Carter
2021-04-21  9:19     ` AdaMagica [this message]
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