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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,573be8c453ecbff4 X-Google-Attributes: gid103376,public From: tmoran@bix.com Subject: Re: 'Read for pointers Date: 2000/07/26 Message-ID: #1/1 X-Deja-AN: 651170248 References: X-Complaints-To: abuse@pacbell.net X-Trace: news.pacbell.net 964650680 207.214.212.221 (Wed, 26 Jul 2000 15:31:20 PDT) Organization: SBC Internet Services NNTP-Posting-Date: Wed, 26 Jul 2000 15:31:20 PDT Newsgroups: comp.lang.ada Date: 2000-07-26T00:00:00+00:00 List-Id: >Further to my previous post, to the effect that one can indeed read >mode out parameters: the access value of the actual is copied into the >formal, so you get a meaningful value coming in even though the mode >is out. See RM 6.4.1{12,13} So to catch bugs at an early time, given type Handle_Type is access ... procedure p(x : some_stuff; Handle : out Handle_Type); one should Handle := null; p(y, Handle); otherwise a supposedly new object at Handle.all may actually be an old object. That must be fun to debug.