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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ca21162c929cc36f X-Google-Attributes: gid103376,public From: johnherro@aol.com (John Herro) Subject: Re: Implementing pointers to pointers in Ada Date: 1996/09/09 Message-ID: <511sp9$ogs@newsbf02.news.aol.com>#1/1 X-Deja-AN: 179516070 sender: root@newsbf02.news.aol.com references: organization: America Online, Inc. (1-800-827-6364) newsgroups: comp.lang.ada Date: 1996-09-09T00:00:00+00:00 List-Id: Vasilios Tourloupis asks: > unsigned **a; > How would this be expressed in Ada? with Interfaces; ... type P is access Interfaces.Unsigned_32; type P2 is access P; A : P2; Of course, it's not obvious WHY you want to use two levels of indirection. Sometimes, instead of directly translating C to Ada, it's better to think the problem through again, and see if Ada offers a better way of solving the problem. In general, Ada has a LOT less need of pointers (access types) than C. - John Herro Software Innovations Technology http://members.aol.com/AdaTutor ftp://members.aol.com/AdaTutor