comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: time of update of new values for out mode parameters
Date: Mon, 19 Mar 2018 17:42:37 -0500
Date: 2018-03-19T17:42:37-05:00	[thread overview]
Message-ID: <p8pect$3qb$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: 4598be4c-7a4b-4bdd-8fd3-99b943e77823@googlegroups.com

"Mehdi Saada" <00120260a@gmail.com> wrote in message 
news:4598be4c-7a4b-4bdd-8fd3-99b943e77823@googlegroups.com...
> Hi.
>
> When are new values of out or in out mode parameters written in the actual
> variable ? Is it instantaneous as I presume it is with access mode 
> parameters,
> or is it done at the end of the function/procedure/accept statement ?

It depends. In well-written code, it shouldn't matter (aliasing being a 
major cause of problems, so one should only use a single access path in any 
single subprogram).

                   Randy.




  parent reply	other threads:[~2018-03-19 22:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19 12:21 time of update of new values for out mode parameters Mehdi Saada
2018-03-19 13:10 ` Simon Clubley
2018-03-19 15:01 ` AdaMagica
2018-03-19 16:11 ` Mehdi Saada
2018-03-19 17:09   ` AdaMagica
2018-03-19 22:42 ` Randy Brukardt [this message]
2018-03-20  2:33 ` Mehdi Saada
2018-03-20  5:54   ` Simon Wright
2018-03-20 11:18     ` Mehdi Saada
replies disabled

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