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=-0.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLYTO_END_DIGIT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cf6748b54b098108,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-06 15:37:54 PST From: Pi Subject: OUT = IN OUT for pointers ??? Newsgroups: comp.lang.ada Reply-To: pi3_1415926536@yahoo.ca Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit User-Agent: KNode/0.3.2 Message-ID: Date: Tue, 6 Nov 2001 18:58:33 -0500 NNTP-Posting-Host: 65.94.128.181 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1005089817 65.94.128.181 (Tue, 06 Nov 2001 18:36:57 EST) NNTP-Posting-Date: Tue, 06 Nov 2001 18:36:57 EST Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news1.tor.metronet.ca!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:15959 Date: 2001-11-06T18:58:33-05:00 List-Id: I came across some code where a pointer was passed in mode OUT. If the pointer would be null initially, the code wouldn't work. But it does work. With a debugger I verified : Even as the pointer is in mode OUT, it's value is passed as if it was IN OUT. I use GNAT, but Aonix seams to have the same behavior too. Now, my question : Must it be like that and is defined that way in the ARM ? or it is an option that it left to the choice of the implementation ? or is it a bug ? -- 3,14159265359