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,2653c85ff3e38d8e X-Google-Attributes: gid103376,public From: kst@king.cts.com (Keith Thompson) Subject: Re: pointers to unconstrained arrays Date: 1997/11/17 Message-ID: <879749280.471845@wagasa.cts.com>#1/1 X-Deja-AN: 290081535 Cache-Post-Path: wagasa.cts.com!kst@king.cts.com References: <346FC90F.3EEC@vsl.com.au> Organization: CTS Network Services Newsgroups: comp.lang.ada Date: 1997-11-17T00:00:00+00:00 List-Id: Matthew Heaney (mheaney@ni.net) wrote: [...] > Why not do this > > Buffer : Buffer_Type (1 .. 5); > for Buffer'Address use System.ItoA (16#B000#); > begin > > and then refer to Buffer directly? Good idea, except that there's no ItoA function in System (though some implementations may (unwisely, IMHO) provide such a function). Try System.Storage_Elements.To_Address. -- Keith Thompson (The_Other_Keith) kst@cts.com <*> ^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H San Diego, California, USA "Simba, you have forgotten me. I am your father. This is CNN." -- JEJ