comp.lang.ada
 help / color / mirror / Atom feed
From: mheaney@ni.net (Matthew Heaney)
Subject: Re: Address attribute
Date: 1997/11/04
Date: 1997-11-04T00:00:00+00:00	[thread overview]
Message-ID: <mheaney-ya023680000411972214210001@news.ni.net> (raw)
In-Reply-To: 345FD3FB.74A32F4A@academic.truman.edu


In article <345FD3FB.74A32F4A@academic.truman.edu>, "Chad R. Meiners"
<v025@academic.truman.edu> wrote:

>Could anyone post an example where the address attribute is used to set
>a varible to a specfic location in memory(a.k.a the text buffer).  The
>rational said it is possible, but it does not give an example of how it
>would be done.  Any help would be appreciated.

declare
   Buffer : Text_Buffer;
   for Buffer'Address use A;
begin

Of course, you have to know the value of address A.

--------------------------------------------------------------------
Matthew Heaney
Software Development Consultant
<mailto:matthew_heaney@acm.org>
(818) 985-1271




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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-04  0:00 Address attribute Chad R. Meiners
1997-11-04  0:00 ` Matthew Heaney [this message]
1997-11-05  0:00 ` Robert S. White
1997-11-05  0:00   ` Matthew Heaney
1997-11-07  0:00     ` Robert S. White
replies disabled

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