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 07:04:55 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.infoave.net!cyclone-sjo1.usenetserver.com!news-out.usenetserver.com!cyclone-west.rr.com!news.rr.com!news-west.rr.com!logbridge.uoregon.edu!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: Access in parameters Date: Fri, 5 Jan 2001 16:51:38 +0200 Organization: The Hebrew University of Jerusalem Message-ID: <934n6q$9nt$1@news.huji.ac.il> References: <934cbk$9ta$1@nnrp1.deja.com> <877l4acdyj.fsf@deneb.enyo.de> NNTP-Posting-Host: di2-4.dialin.huji.ac.il X-Trace: news.huji.ac.il 978706459 9981 132.64.12.4 (5 Jan 2001 14:54:19 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Fri, 5 Jan 2001 14:54:19 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: supernews.google.com comp.lang.ada:3690 Date: 2001-01-05T16:51:38+02:00 List-Id: Compare to the definition here: package You_cant_change_it is type Int_P is access constant Integer; X:constant Int_P; procedure p; private Y:aliased integer:=10; X:constant Int_P:=Y'access; end; (The body however can offer surprises: package body You_cant_change_it is ------- -- p -- ------- procedure p is begin Y:=Y+1; end p; end You_cant_change_it; ) -- Ehud Lamm mslamm@mscc.huji.ac.il