comp.lang.ada
 help / color / mirror / Atom feed
From: kst@king.cts.com (Keith Thompson)
Subject: Re: pointers to unconstrained arrays
Date: 1997/11/17
Date: 1997-11-17T00:00:00+00:00	[thread overview]
Message-ID: <879749280.471845@wagasa.cts.com> (raw)
In-Reply-To: mheaney-ya023680001611972211100001@news.ni.net


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




      reply	other threads:[~1997-11-17  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <346FC90F.3EEC@vsl.com.au>
1997-11-16  0:00 ` pointers to unconstrained arrays Matthew Heaney
1997-11-17  0:00   ` Keith Thompson [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox