comp.lang.ada
 help / color / mirror / Atom feed
From: lafortg <george_n_lafortune@res.raytheon.com>
Subject: Re: Access in parameters
Date: Fri, 05 Jan 2001 07:27:14 +0000
Date: 2001-01-05T07:27:14+00:00	[thread overview]
Message-ID: <3A557752.400801F@res.raytheon.com> (raw)
In-Reply-To: 934cbk$9ta$1@nnrp1.deja.com

You're not modifying the x in parameter, your're modifying the integer
accessed via
x.

Sandro Binetti 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/

--

George Lafortune
Raytheon Electronic Systems
Sudbury, Ma
e-mail: george_n_lafortune@res.raytheon.com
phone : 978-440-1423





  reply	other threads:[~2001-01-05  7:27 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 [this message]
2001-01-05 12:39 ` n_brunot
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