From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4a1981ab38038a0b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-05 04:27:52 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!144.212.100.101!newsfeed.mathworks.com!cyclone.swbell.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3A557752.400801F@res.raytheon.com> From: lafortg X-Mailer: Mozilla 4.51 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Access in parameters References: <934cbk$9ta$1@nnrp1.deja.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 05 Jan 2001 07:27:14 +0000 NNTP-Posting-Host: 138.125.81.241 X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 978697625 138.125.81.241 (Fri, 05 Jan 2001 07:27:05 EST) NNTP-Posting-Date: Fri, 05 Jan 2001 07:27:05 EST Organization: Raytheon Company Xref: supernews.google.com comp.lang.ada:3674 Date: 2001-01-05T07:27:14+00:00 List-Id: 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