comp.lang.ada
 help / color / mirror / Atom feed
From: n_brunot@my-deja.com
Subject: Re: Access in parameters
Date: Fri, 05 Jan 2001 12:39:51 GMT
Date: 2001-01-05T12:39:51+00:00	[thread overview]
Message-ID: <934fan$c1u$1@nnrp1.deja.com> (raw)
In-Reply-To: 934cbk$9ta$1@nnrp1.deja.com

The access parameter is not modified.
x keep the same value.
Only the pointed value x.all is changed.

In article <934cbk$9ta$1@nnrp1.deja.com>,
  Sandro Binetti <sandrobinetti@my-deja.com> wrote:
>  Why is this correct?
>
>   type T_XXX is access all integer;
>
>   procedure PP(x:in t_xxx) is
>   begin
>     x.all:=10; -- ????
>   end pp;
>
> Can an in-access-parameter be modified inside a procedure?
>
> Thank you everybody.
>
> --
> Ciao, Sandro
>
> Sent via Deja.com
> http://www.deja.com/
>


Sent via Deja.com
http://www.deja.com/



  parent reply	other threads:[~2001-01-05 12:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-05 11:49 Access in parameters Sandro Binetti
2001-01-05  7:27 ` lafortg
2001-01-05 12:39 ` n_brunot [this message]
2001-01-05 13:42 ` Florian Weimer
2001-01-05 14:51   ` Ehud Lamm
replies disabled

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